test-bot: don't cleanup the HOMEBREW_RUBY_PATH.

This commit is contained in:
Mike McQuaid 2015-12-07 13:30:37 +00:00
parent 17e5c1409f
commit 3d3c3e0131

View File

@ -647,7 +647,7 @@ module Homebrew
git "rebase", "--abort"
git "reset", "--hard"
git "checkout", "-f", "master"
git "clean", "-ffdx"
git "clean", "-ffdx" unless ENV["HOMEBREW_RUBY_PATH"]
pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
Dir.glob(pr_locks) { |lock| FileUtils.rm_rf lock }
end