summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2014-03-12 15:18:18 -0700
committersersut <serdar@opscode.com>2014-03-12 15:18:18 -0700
commit93e2f52c1d6de8f18e0dc4ab27898fed7906d1c5 (patch)
tree40161a5acd80365d07df669d1c88b884a675637a
parentce7593ee60ecace552a86ece5cd98ef8b9395bf1 (diff)
parentd58722b44ec4593ef92b9f742f030b263b635c2c (diff)
downloadchef-93e2f52c1d6de8f18e0dc4ab27898fed7906d1c5.tar.gz
Merge branch 'master' of github.com:valodzka/chef into CHEF-4929
-rw-r--r--lib/chef/provider/deploy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/deploy.rb b/lib/chef/provider/deploy.rb
index d1017dba62..516aee6159 100644
--- a/lib/chef/provider/deploy.rb
+++ b/lib/chef/provider/deploy.rb
@@ -266,7 +266,7 @@ class Chef
def copy_cached_repo
target_dir_path = @new_resource.deploy_to + "/releases"
- converge_by("deploy from repo to #{@target_dir_path} ") do
+ converge_by("deploy from repo to #{target_dir_path} ") do
FileUtils.rm_rf(release_path) if ::File.exist?(release_path)
FileUtils.mkdir_p(target_dir_path)
FileUtils.cp_r(::File.join(@new_resource.destination, "."), release_path, :preserve => true)