summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNowar Gu <nowar100@gmail.com>2011-07-12 00:12:00 +0800
committermodcarl <modcarl@gmail.com>2011-07-18 21:00:40 +0800
commit156dbc65885e07907a0f24865d037f294e37ec65 (patch)
treed9534ed89ced90a151c1553da8cece70191ca87f
parent7cb56a01f40b91e3b4f31c062862df9d289f0e1b (diff)
downloadgdk-156dbc65885e07907a0f24865d037f294e37ec65.tar.gz
Run ndk-build only when gdk-build is successful.
-rwxr-xr-xgdk-build4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk-build b/gdk-build
index f1cc6b4..7e588ca 100755
--- a/gdk-build
+++ b/gdk-build
@@ -105,4 +105,6 @@ fi
$GNUMAKE -f $PROGDIR/build/core/build-local.mk "$@"
# Transfer the control power to NDK
-$GNUMAKE -f $NDK_ROOT/build/core/build-local.mk "$@"
+if [ $? -eq 0 ]; then
+ $GNUMAKE -f $NDK_ROOT/build/core/build-local.mk "$@"
+fi