Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.10.10
-
Component/s: None
-
Labels:None
Description
The git provider does not escape clone destinations. This causes a "Too many arguments." error when trying to clone to a destination with a space.
(you can reproduce this bug with this piece of code)
git "#{ENV['HOME']}/Library/Application Support/TextMate/Bundles/RSpec.tmbundle" do repository "git://github.com/rspec/rspec-tmbundle.git" reference "master" action :sync end
Issue Links
- relates to
-
CHEF-4239
git provider breaks if repository path has spaces
-
I've created a pull request on Github which fixes this issue by escaping the destination and have included a spec to test the behavior.
Link: https://github.com/opscode/chef/pull/242