lib/chef/knife/cookbook_github_install.rb in knife-github-cookbooks-0.1.7 vs lib/chef/knife/cookbook_github_install.rb in knife-github-cookbooks-0.1.8
- old
+ new
@@ -67,10 +67,10 @@
config[:cookbook_path] = Chef::Config[:cookbook_path]
end
parse_name_args!
- @install_path = config[:cookbook_path].first
+ @install_path = File.expand_path(Array(config[:cookbook_path]).first)
ui.info "Installing #@cookbook_name from #{github_uri} to #{@install_path}"
@repo = CookbookSCMRepoExtensions.new(@install_path, ui, config)
@repo.sanity_check