neb/tools/repo/check.d/00-all-tools-executable.sh

8 lines
149 B
Bash
Executable file

#!/bin/sh
for s in $(find tools/ -type f -iname "*.sh"); do
if ! [ -x $s ]; then
echo "$s is not executable"
exit 1
fi
done