Correct quotation #891

The Windows shell doesn't seem to support single quotes…

Contributed by Dies Koper, Luke Carrier
This commit is contained in:
Felix Schäfer 2012-03-01 00:40:23 +01:00
parent 4a3f10317f
commit 4b5271f487
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module ChiliProject
git_dir = Rails.root.join('.git')
if File.directory? git_dir
git.send(:shellout, "#{git.sq_bin} --git-dir='#{git_dir}' rev-parse --short=9 HEAD") { |io| io.read }.to_s.chomp
git.send(:shellout, "#{git.sq_bin} --git-dir=\"#{git_dir}\" rev-parse --short=9 HEAD") { |io| io.read }.to_s.chomp
end
end
end