scripts: Make checkShellScripts.sh error exit if it can't find src

Closes 31679.
This commit is contained in:
teor
2019-09-10 12:24:08 +10:00
parent 8c37bf738d
commit af12b6fd29
+1
View File
@@ -31,6 +31,7 @@ TOPLEVEL=$(dirname "$(dirname "$HERE")")
if [ ! -d "$TOPLEVEL/src" ]; then
printf "Error: Couldn't find src directory in expected location: %s\\n" \
"$TOPLEVEL/src"
exit 1
fi
# Check *.sh scripts, but ignore the ones that we can't fix