git-subtree-dir: libs/protobuf git-subtree-split: fcd3b9a85ef36e46643dc30176cea1a7ad62e02b
9 lines
147 B
Bash
Executable File
9 lines
147 B
Bash
Executable File
#!/bin/bash
|
|
for file in $(find . -type f); do
|
|
if [ "$(head -c 2 $file)" == "#!" ]; then
|
|
chmod u+x $file
|
|
else
|
|
chmod a-x $file
|
|
fi
|
|
done
|