neb/tools/repo/fix-script-permissions.sh

7 lines
153 B
Bash
Executable file

#!/bin/sh
for s in $(find . -type f -regex ".*\.\(sh\|py\)"); do
[ -x $s ] && continue
echo "fixing permissions for $s..."
chmod +x $s
done