incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim...@apache.org
Subject [2/2] webworks commit: [CB-965] - needed flag for destination directory
Date Fri, 29 Jun 2012 21:46:19 GMT
[CB-965] - needed flag for destination directory


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/2469c8b3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/2469c8b3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/2469c8b3

Branch: refs/heads/master
Commit: 2469c8b3e71871f20f880d5c9ed98aaa67aa20c5
Parents: 4454e40
Author: Tim Kim <tim.kim@nitobi.com>
Authored: Fri Jun 29 14:34:35 2012 -0700
Committer: Tim Kim <tim.kim@nitobi.com>
Committed: Fri Jun 29 14:34:35 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/2469c8b3/bin/create.js
----------------------------------------------------------------------
diff --git a/bin/create.js b/bin/create.js
index f428fc0..2b777c2 100644
--- a/bin/create.js
+++ b/bin/create.js
@@ -83,10 +83,10 @@ var VERSION=read(ROOT+'\\VERSION').replace(/\r\n/,'').replace(/\n/,'');
 if(fso.FolderExists(ROOT+'\\framework')){
     exec('ant.bat -f '+ ROOT +'\\build.xml dist');
     // copy in the project template
-    exec('cmd /c xcopy '+ ROOT + '\\dist\\sample\\* '+PROJECT_PATH+' /S /Y');
+    exec('cmd /c xcopy '+ ROOT + '\\dist\\sample\\* '+PROJECT_PATH+' /I /S /Y');
 }else{
     // copy in the project template
-    exec('cmd /c xcopy '+ ROOT + '\\sample\\* '+PROJECT_PATH+' /S /Y');    
+    exec('cmd /c xcopy '+ ROOT + '\\sample\\* '+PROJECT_PATH+' /I /S /Y');    
 }
 
 replaceInFile(MANIFEST_PATH, /__NAME__/, APPNAME);


Mime
View raw message