Try to fix a test failure that only happens on RunCodeRun.

This commit is contained in:
Chris Eppstein 2010-03-06 14:24:54 -08:00
parent 24d51a543a
commit f7b729fa60

View File

@ -3,11 +3,13 @@ if ENV['RUN_CODE_RUN']
if File.directory?("haml")
Dir.chdir("haml") do
sh "git", "fetch"
sh "git", "reset", "--hard", "origin/stable"
end
else
sh "git", "clone", "git://github.com/nex3/haml.git"
end
Dir.chdir("haml") do
sh "git", "reset", "--hard", "origin/stable"
end
$LOAD_PATH.unshift "haml/lib"
end