Skip to content

Commit

Permalink
modified build.sh to exit with build exit code, not rm exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
baarsrj committed Dec 12, 2019
1 parent 99f4e2a commit 65d02c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 65d02c9

Please sign in to comment.