fix stsatus code deteciton
This commit is contained in:
parent
4360431e98
commit
5f9268addd
|
@ -215,7 +215,7 @@ if [ "$DEBSIGN_KEYID" != "" ]; then
|
|||
DEBUILD="$DEBUILD -k$DEBSIGN_KEYID"
|
||||
fi
|
||||
$DEBUILD
|
||||
if [ $? ]; then
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "Error status code is: $?"
|
||||
echo "Build failed.";
|
||||
exit $?;
|
||||
|
|
Loading…
Reference in New Issue