fix if on exit status of build
This commit is contained in:
parent
fa0e1b728c
commit
7076b92af4
|
@ -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 $?;
|
||||||
|
|
Loading…
Reference in New Issue