Merge commit '36bca61764984ff5395653cf8377ec5daa71b709' as 'libs/protobuf'
This commit is contained in:
8
libs/protobuf/fix_permissions.sh
Executable file
8
libs/protobuf/fix_permissions.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user