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

8 lines
158 B
Bash
Raw Normal View History

2023-10-22 17:45:13 +02:00
#!/bin/sh
for s in $(find tools/ -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