Properly forward exit 1 code from the paper root command

This is so the CI server can pick up when applying patches fails,
and mark the build as a failure.
This commit is contained in:
Aikar 2018-07-30 17:37:24 -04:00
parent e7a59cde75
commit d54ce6c17f
No known key found for this signature in database
GPG key ID: 401ADFC9891FAAFE
5 changed files with 18 additions and 10 deletions

View file

@ -12,4 +12,4 @@ gitcmd="git -c commit.gpgsign=false"
if [ "$2" == "--jar" ]; then
mvn clean install && ./scripts/paperclip.sh "$basedir"
fi
)
) || exit 1