fixup! Fixed return status for tv and mobile build scripts.
authorSeungSeop Park <sns.park@samsung.com>
Wed, 22 Oct 2014 05:52:52 +0000 (14:52 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
commit610557d51fa4efca8e10513038dab80bfd6ff0a8
tree5bc863ff72196757827d53fd3289936302053bda
parent17dbcea33088bc1343a5034c7d06fcc14d20e637
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 <sns.park@samsung.com>
tizen_src/build/build_mobile.sh
tizen_src/build/build_tv.sh