incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject webworks commit: Re-fixed cordova scripts being able to execute in bb
Date Tue, 26 Jun 2012 22:42:47 GMT
Updated Branches:
  refs/heads/master 4e783f819 -> 1449762f7


Re-fixed cordova scripts being able to execute in bb


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/commit/1449762f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/1449762f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/1449762f

Branch: refs/heads/master
Commit: 1449762f7ea4f8e0df5ddb8b3355785218aaf498
Parents: 4e783f8
Author: Tim Kim <tim.kim@nitobi.com>
Authored: Tue Jun 26 15:42:41 2012 -0700
Committer: Tim Kim <tim.kim@nitobi.com>
Committed: Tue Jun 26 15:42:41 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/1449762f/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index 80c1465..fe91d1c 100755
--- a/bin/create
+++ b/bin/create
@@ -71,7 +71,8 @@ echo "Building cordova-$VERSION.jar and cordova-$VERSION.js ..."
 # copy project template
 echo "Copying assets and resources ..."
 cp -r $BUILD_PATH/dist/sample/. $PROJECT_PATH
-chmod 700 $PROJECT_PATH/cordova/*
+# re-copy over cordova scripts because ant doesn't preserve file modes when copying
+cp -r -p $BUILD_PATH/bin/templates/project/cordova $PROJECT_PATH
 
 # interpolate the app name into config.xml
 echo "Updating config.xml ..."


Mime
View raw message