You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/01/11 19:25:01 UTC
[7/10] android commit: Fixes CB-2204: if bin/create fails,
exit with code 1
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/b870214c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/b870214c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/b870214c
Branch: refs/heads/master
Commit: b870214ccaeb981ccb128caa42c78ad9b2038e55
Parents: 55074b9
Author: Fil Maj <ma...@gmail.com>
Authored: Thu Jan 10 18:29:36 2013 -0800
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Jan 11 10:24:03 2013 -0800
----------------------------------------------------------------------
bin/create | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/b870214c/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 {