Explorar o código

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

Closes 31679.
teor %!s(int64=4) %!d(string=hai) anos
pai
achega
af12b6fd29
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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