소스 검색

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

Closes 31679.
teor 4 년 전
부모
커밋
af12b6fd29
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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