Browse Source

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

Closes 31679.
teor 4 years ago
parent
commit
af12b6fd29
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/maint/checkShellScripts.sh

+ 1 - 0
scripts/maint/checkShellScripts.sh

@@ -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