You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2012/06/29 23:46:19 UTC

[2/2] webworks commit: [CB-965] - needed flag for destination directory

[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 <ti...@nitobi.com>
Authored: Fri Jun 29 14:34:35 2012 -0700
Committer: Tim Kim <ti...@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);