diff options
author | polamjag <s@polamjag.info> | 2015-08-10 17:16:05 +0900 |
---|---|---|
committer | polamjag <s@polamjag.info> | 2015-08-10 17:16:05 +0900 |
commit | f4ad4af6dc996bc1068dde1249870e45e2635c3f (patch) | |
tree | b35fd4b43fb6439d0e2e70077322aff231cf3c51 /chef-config | |
parent | 3a5e1819c4439836767a001182c1e19de1cfb7e9 (diff) | |
download | chef-f4ad4af6dc996bc1068dde1249870e45e2635c3f.tar.gz |
uniquify chef_repo_path
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 2 |
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 |