cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject [1/2] ios commit: CB-9693 Fix www copy with spaces in project name
Date Wed, 23 Sep 2015 18:37:51 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/master 7ed8c76b0 -> 91d52a99e


CB-9693 Fix www copy with spaces in project name

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

Branch: refs/heads/master
Commit: 0ac7bfddd74cde796913fe36f81d145953a68b27
Parents: 89eac6c
Author: Darryl Pogue <dvpdiner2@gmail.com>
Authored: Tue Sep 22 19:05:55 2015 -0700
Committer: Darryl Pogue <dvpdiner2@gmail.com>
Committed: Tue Sep 22 19:05:55 2015 -0700

----------------------------------------------------------------------
 bin/templates/scripts/cordova/lib/copy-www-build-step.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/0ac7bfdd/bin/templates/scripts/cordova/lib/copy-www-build-step.js
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/copy-www-build-step.js b/bin/templates/scripts/cordova/lib/copy-www-build-step.js
index 1199542..811da02 100644
--- a/bin/templates/scripts/cordova/lib/copy-www-build-step.js
+++ b/bin/templates/scripts/cordova/lib/copy-www-build-step.js
@@ -57,9 +57,9 @@ shell.rm('-rf', path.join(dstDir, 'embedded.mobileprovision'));
 
 // Copy www dir recursively
 if(!!COPY_HIDDEN) {
-    shell.exec('rsync -Lra ' + srcDir + ' ' + dstDir);
+    shell.exec('rsync -Lra "' + srcDir + '" "' + dstDir + '"');
 } else {
-    shell.exec('rsync -Lra --exclude="- .*" ' + srcDir + ' ' + dstDir);
+    shell.exec('rsync -Lra --exclude="- .*" "' + srcDir + '" "' + dstDir + '"');
 }
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message