This commit is contained in:
Abdullah Barhoum 2022-09-06 19:02:54 +02:00 committed by AbdBarho
parent f75ca01955
commit ad9b914350

View file

@ -11,9 +11,11 @@ jobs:
- shell: bash
run: |
shopt -s globstar;
FAIL=0
for file in **/*.sh; do
if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then
echo "$file" is not executable;
exit 1;
FAIL=1
fi
done
exit ${FAIL}