fix if on exit status of build

This commit is contained in:
Isaac Connor 2017-04-27 09:01:47 -04:00
parent fa0e1b728c
commit 7076b92af4
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ if [ "$DEBSIGN_KEYID" != "" ]; then
DEBUILD="$DEBUILD -k$DEBSIGN_KEYID" DEBUILD="$DEBUILD -k$DEBSIGN_KEYID"
fi fi
$DEBUILD $DEBUILD
if [ "$?" != "0" ]; then if [ $? -ne 0 ]; then
echo "Error status code is: $?" echo "Error status code is: $?"
echo "Build failed."; echo "Build failed.";
exit $?; exit $?;