From 65d02c9057618619a93cb14a9f8d0f5462da1553 Mon Sep 17 00:00:00 2001 From: baarsrj Date: Thu, 12 Dec 2019 10:51:40 +0100 Subject: [PATCH] modified build.sh to exit with build exit code, not rm exit code --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index de871cf99f78..3a09a2411435 100755 --- a/build.sh +++ b/build.sh @@ -22,8 +22,9 @@ COMMAND="mvn --projects $MODULE --also-make ${@:2}" echo "Running: $COMMAND" $COMMAND - +BUILDEXITCODE=$? # these don't work on their own, so delete them to avoid confusion: rm languagetool-standalone/target/languagetool-standalone-*.jar 2> /dev/null rm languagetool-wikipedia/target/languagetool-wikipedia-*.jar 2> /dev/null rm languagetool-commandline/target/languagetool-commandline-*.jar 2> /dev/null +exit $BUILDEXITCODE