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

8 lines
153 B
Bash
Raw Normal View History

2023-10-22 17:45:13 +02:00
#!/bin/sh
2023-10-30 01:06:33 +01:00
for s in $(find . -type f -regex ".*\.\(sh\|py\)"); do
2023-10-22 17:45:13 +02:00
[ -x $s ] && continue
echo "fixing permissions for $s..."
chmod +x $s
done