You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/01/11 03:27:19 UTC

android commit: Fixes CB-2204: if bin/create fails, exit with code 1

Updated Branches:
  refs/heads/master 1f3938661 -> dc94fc39e


Fixes CB-2204: if bin/create fails, exit with code 1


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/dc94fc39
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/dc94fc39
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/dc94fc39

Branch: refs/heads/master
Commit: dc94fc39ec8bac1cb09eaa264a74266538a1b9c4
Parents: 1f39386
Author: Fil Maj <ma...@gmail.com>
Authored: Thu Jan 10 18:29:36 2013 -0800
Committer: Fil Maj <ma...@gmail.com>
Committed: Thu Jan 10 18:29:36 2013 -0800

----------------------------------------------------------------------
 bin/create |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/dc94fc39/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index d1380cb..c92acb4 100755
--- a/bin/create
+++ b/bin/create
@@ -69,7 +69,7 @@ function on_error {
     echo "An unexpected error occurred: $previous_command exited with $?"
     echo "Deleting project..."
     [ -d "$PROJECT_PATH" ] && rm -rf "$PROJECT_PATH"
-    exit "$?"
+    exit 1
 }
 
 function replace {