cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject android commit: Fixes CB-2204: if bin/create fails, exit with code 1
Date Fri, 11 Jan 2013 02:27:19 GMT
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 <maj.fil@gmail.com>
Authored: Thu Jan 10 18:29:36 2013 -0800
Committer: Fil Maj <maj.fil@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 {


Mime
View raw message