cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [1/2] android commit: [CB-1959] Display usage and exit when no arguments given
Date Mon, 03 Dec 2012 02:21:52 GMT
Updated Branches:
  refs/heads/master 00e5ff196 -> c0ee593c1


[CB-1959] Display usage and exit when no arguments given


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

Branch: refs/heads/master
Commit: c0ee593c109431ae5ea41df71f5463baf0f8eaa6
Parents: c806451
Author: Brian M Dube <brian.dube@gmail.com>
Authored: Sun Dec 2 13:12:44 2012 -0800
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Sun Dec 2 21:21:24 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/c0ee593c/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index e01cef9..d1380cb 100755
--- a/bin/create
+++ b/bin/create
@@ -23,7 +23,7 @@
 #
 set -e
 
-if [ -n "$1" ] && [ "$1" == "-h" ]
+if [ -z "$1" ] || [ "$1" == "-h" ]
 then
     echo 'usage: create path package activity'
     echo "Make sure the Android SDK tools folder is in your PATH!"


Mime
View raw message