Skip to content

Commit

Permalink
CB-9693 Fix www copy with spaces in project name
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue committed Sep 23, 2015
1 parent 89eac6c commit 0ac7bfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/templates/scripts/cordova/lib/copy-www-build-step.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '"');
}


Expand Down

0 comments on commit 0ac7bfd

Please sign in to comment.