From 960a3086e7708d6accdc2685f8383f5ffe3c1c7f Mon Sep 17 00:00:00 2001 From: bjoern Date: Fri, 15 Jan 2016 21:39:42 +0100 Subject: [PATCH] Update cp parameter for non ntfs compatibility * parameter -a is only available on ntfs filesystems * changed parameter to -r which is available everywhere * works on OSX now with HFS+ --- tasks/deploy/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/deploy/update.js b/tasks/deploy/update.js index 4f7579b..73b06b7 100644 --- a/tasks/deploy/update.js +++ b/tasks/deploy/update.js @@ -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)); } /**