incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [2/2] ios commit: [CB-1136] symlink to bin/create script fails
Date Thu, 26 Jul 2012 00:31:38 GMT
[CB-1136] symlink to bin/create script fails


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/22982ccb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/22982ccb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/22982ccb

Branch: refs/heads/master
Commit: 22982ccbf23d7444fddae9c76b65dc49941b9748
Parents: c181db1
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Jul 25 17:25:49 2012 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Jul 25 17:25:49 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/22982ccb/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index c3e2645..cf29516 100755
--- a/bin/create
+++ b/bin/create
@@ -43,7 +43,10 @@ if [ $# -lt 3 ]; then
 	usage
 fi
 
-BINDIR=$( cd "$( dirname "$0" )" && pwd )
+# the two lines below are to get the current folder, and resolve symlinks
+SCRIPT=`readlink $0`
+BINDIR=`dirname $SCRIPT`
+
 PROJECT_PATH=$1
 PACKAGE=$2
 PROJECT_NAME=$3


Mime
View raw message