summaryrefslogtreecommitdiff
path: root/lib/chef/provider/deploy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/deploy.rb')
-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 7274ab2e8f..4c758033ac 100644
--- a/lib/chef/provider/deploy.rb
+++ b/lib/chef/provider/deploy.rb
@@ -242,7 +242,7 @@ class Chef
end
def all_releases
- Dir.glob(Chef::Util::PathHelper.escape_glob(@new_resource.deploy_to) + "/releases/*").sort
+ Dir.glob(Chef::Util::PathHelper.escape_glob_dir(@new_resource.deploy_to) + "/releases/*").sort
end
def update_cached_repo