From c8d5bf8dd5c03cabe3fdbf9ba2f321ad1929c1a4 Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 5 Mar 2015 14:25:45 +0300 Subject: [PATCH] Fix build script --- build/build.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/build/build.sh b/build/build.sh index 95ef503e..05257cda 100755 --- a/build/build.sh +++ b/build/build.sh @@ -534,11 +534,8 @@ $MAKE -f Makefile \ platform=$OS_FAMILY \ BIN_PATH=$BIN_PATH \ OBJ_PATH=$OBJ_PATH/debug \ - debug - -if [ $? -ne 0 ]; then - exit $? -fi + debug \ + && exit $? echo --------------------------------- echo Make release library @@ -560,11 +557,8 @@ $MAKE -f Makefile \ platform=$OS_FAMILY \ BIN_PATH=$BIN_PATH \ OBJ_PATH=$OBJ_PATH/release \ - release - -if [ $? -ne 0 ]; then - exit $? -fi + release \ + && exit $? echo --------------------------------- -- 2.34.1