Skip to content
This repository has been archived by the owner on Mar 18, 2018. It is now read-only.

Commit

Permalink
Update cp parameter for non ntfs compatibility
Browse files Browse the repository at this point in the history
* parameter -a is only available on ntfs filesystems
* changed parameter to -r which is available everywhere
* works on OSX now with HFS+
  • Loading branch information
bjoern committed Jan 15, 2016
1 parent c44ef4d commit 960a308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/deploy/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = function (gruntOrShipit) {
return Promise.resolve();
}
shipit.log('Copy previous release to "%s"', shipit.releasePath);
return shipit.remote(util.format('cp -a %s/. %s', path.join(shipit.releasesPath, shipit.previousRelease), shipit.releasePath));
return shipit.remote(util.format('cp -r %s/. %s', path.join(shipit.releasesPath, shipit.previousRelease), shipit.releasePath));
}

/**
Expand Down

0 comments on commit 960a308

Please sign in to comment.