commit af12b6fd294c3019b8109d9607cd24740a0d3a99
parent 8c37bf738dce0bf8487e94e386ed3d580e5d13c3
Author: teor <teor@torproject.org>
Date: Tue, 10 Sep 2019 12:24:08 +1000
scripts: Make checkShellScripts.sh error exit if it can't find src
Closes 31679.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/scripts/maint/checkShellScripts.sh b/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