# File lib/chef/provider/deploy.rb, line 210 def copy_cached_repo Chef::Log.info "copying the cached checkout to #{release_path}" FileUtils.mkdir_p(@new_resource.deploy_to + "/releases") run_command(:command => "cp -RPp #{::File.join(@new_resource.destination, ".")} #{release_path}") release_created(release_path) end