aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2015-12-07 13:30:37 +0000
committerMike McQuaid2015-12-07 13:30:37 +0000
commit3d3c3e013108a3d21ad188488e69f8b33227537b (patch)
tree60206346cd5535d912c7245db1ea830dd9574948 /Library/Homebrew/cmd
parent17e5c1409f13e3456361ab842c1e87d560fd9ccc (diff)
downloadbrew-3d3c3e013108a3d21ad188488e69f8b33227537b.tar.bz2
test-bot: don't cleanup the HOMEBREW_RUBY_PATH.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index ad679b7ec..e3ef8924d 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -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