summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpolamjag <s@polamjag.info>2015-08-10 17:16:05 +0900
committerpolamjag <s@polamjag.info>2015-08-10 17:16:05 +0900
commitf4ad4af6dc996bc1068dde1249870e45e2635c3f (patch)
treeb35fd4b43fb6439d0e2e70077322aff231cf3c51
parent3a5e1819c4439836767a001182c1e19de1cfb7e9 (diff)
downloadchef-f4ad4af6dc996bc1068dde1249870e45e2635c3f.tar.gz
uniquify chef_repo_path
-rw-r--r--chef-config/lib/chef-config/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index 301a3ba0b6..a3f06e9b23 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -128,7 +128,7 @@ module ChefConfig
if chef_repo_path.kind_of?(String)
PathHelper.join(chef_repo_path, child_path)
else
- chef_repo_path.map { |path| PathHelper.join(path, child_path)}
+ chef_repo_path.uniq.map { |path| PathHelper.join(path, child_path)}
end
end