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

9 lines
149 B
Bash
Raw Normal View History

2023-10-22 22:06:22 +02:00
#!/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