1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Use cp -RPp instead of -a in the remote cache strategy (closes #8509)

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-06-12 17:47:05 +00:00
parent bf8ef69588
commit ac500efb6f
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Use cp -RPp instead of -a in the remote cache strategy
* Make the UploadError exception include an array of the hosts that failed [rob@inversepath.com]
* Allow "empty" roles to be declared [Jamis Buck]

View file

@ -32,7 +32,7 @@ module Capistrano
def copy_repository_cache
logger.trace "copying the cached version to #{configuration[:release_path]}"
run "cp -a #{repository_cache} #{configuration[:release_path]} && #{mark}"
run "cp -RPp #{repository_cache} #{configuration[:release_path]} && #{mark}"
end
end