8 lines
154 B
Bash
Executable file
8 lines
154 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for s in $(find . -type f -regex ".*\.\(sh\|py\)"); do
|
|
if ! [ -x $s ]; then
|
|
echo "$s is not executable"
|
|
exit 1
|
|
fi
|
|
done
|