Make run_code_run happy.

This commit is contained in:
Chris Eppstein 2009-11-29 20:34:38 -08:00
parent 4f9faef76f
commit 4ac6f2a77a

View File

@ -2,7 +2,8 @@ if ENV['RUN_CODE_RUN']
# We need to checkout edge haml for the run>code>run test environment. # We need to checkout edge haml for the run>code>run test environment.
if File.directory?("haml") if File.directory?("haml")
Dir.chdir("haml") do Dir.chdir("haml") do
sh "git", "pull" sh "git", "fetch"
sh "git", "reset", "--hard", "origin/stable"
end end
else else
sh "git", "clone", "git://github.com/nex3/haml.git" sh "git", "clone", "git://github.com/nex3/haml.git"