Playdar formula

Fix git download strategy
This commit is contained in:
Max Howell 2009-08-23 19:05:05 +01:00
parent 2b29e052fc
commit 2eec8180eb

View File

@ -103,7 +103,7 @@ class GitDownloadStrategy <AbstractDownloadStrategy
dst=Dir.getwd
Dir.chdir @clone do
# http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export
safe_system 'git', 'checkout-index', '-af', "--prefix=#{dst}"
safe_system 'git', 'checkout-index', '-af', "--prefix=#{dst}/"
end
end
end