Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Quote path to git repo, so spaces don't break it
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Mar 15, 2010
1 parent a681b38 commit d2c92e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def cache

def checkout
unless File.exist?("#{path}/.git")
%x(git clone --no-checkout file://#{cache_path} #{path})
%x(git clone --no-checkout "file://#{cache_path}" #{path})
end
Dir.chdir(path) do
git "fetch --quiet"
Expand Down

0 comments on commit d2c92e4

Please sign in to comment.