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:
parent
bf8ef69588
commit
ac500efb6f
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*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]
|
* Make the UploadError exception include an array of the hosts that failed [rob@inversepath.com]
|
||||||
|
|
||||||
* Allow "empty" roles to be declared [Jamis Buck]
|
* Allow "empty" roles to be declared [Jamis Buck]
|
||||||
|
|
|
@ -32,7 +32,7 @@ module Capistrano
|
||||||
|
|
||||||
def copy_repository_cache
|
def copy_repository_cache
|
||||||
logger.trace "copying the cached version to #{configuration[:release_path]}"
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue