From 610557d51fa4efca8e10513038dab80bfd6ff0a8 Mon Sep 17 00:00:00 2001 From: SeungSeop Park Date: Wed, 22 Oct 2014 14:52:52 +0900 Subject: [PATCH] fixup! Fixed return status for tv and mobile build scripts. Previoulsy the build script build/build_mobile|tv.sh always returned 1. This is because - if GBS_RET is 0, [ "$GBS_RET" != "0" ] is evaluated to 1, which in turn becomes the return value of the script. - if GBS_RET is 1, the script exits with the value of GBS_RET. The solution is to exit with 0 at the end of script. Reviewed by: Antonio Gomes, mohan reddy, Kangil Han Change-Id: I1647dfb3d63ca9b60ac2a7b77421540ef7108175 Signed-off-by: SeungSeop Park --- tizen_src/build/build_mobile.sh | 1 + tizen_src/build/build_tv.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/tizen_src/build/build_mobile.sh b/tizen_src/build/build_mobile.sh index 9db657d..1af4f5d 100755 --- a/tizen_src/build/build_mobile.sh +++ b/tizen_src/build/build_mobile.sh @@ -29,3 +29,4 @@ APPLY_PATCHES_RET=$? [ "$GBS_RET" != "0" ] && exit $GBS_RET [ "$APPLY_PATCHES_RET" != "0" ] && exit $APPLY_PATCHES_RET +exit 0 diff --git a/tizen_src/build/build_tv.sh b/tizen_src/build/build_tv.sh index b46e983..4b4609e 100755 --- a/tizen_src/build/build_tv.sh +++ b/tizen_src/build/build_tv.sh @@ -30,3 +30,4 @@ APPLY_PATCHES_RET=$? [ "$GBS_RET" != "0" ] && exit $GBS_RET [ "$APPLY_PATCHES_RET" != "0" ] && exit $APPLY_PATCHES_RET +exit 0 -- 2.7.4