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"
|
DEBUILD="$DEBUILD -k$DEBSIGN_KEYID"
|
||||||
fi
|
fi
|
||||||
$DEBUILD
|
$DEBUILD
|
||||||
if [ $? ]; then
|
if [ "$?" != "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