fix: all shellscripts should be +x

This commit is contained in:
Strix 2023-10-30 01:06:33 +01:00
parent 1da2f0100c
commit eb1096b275
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
18 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
for s in $(find tools/ -type f -regex ".*\.\(sh\|py\)"); do
for s in $(find . -type f -regex ".*\.\(sh\|py\)"); do
if ! [ -x $s ]; then
echo "$s is not executable"
exit 1

View file

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