aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-05-14 08:45:39 +0100
committerMike McQuaid2015-05-14 08:45:39 +0100
commitd05d185d2e85d6439f9f88f57fc02007315c74dd (patch)
tree652857ab08a233ec1c4566f5670c83bc85e2992c
parentf242381e2a208d18646b2949fc40dabfa9604313 (diff)
downloadbrew-d05d185d2e85d6439f9f88f57fc02007315c74dd.tar.bz2
test-bot: cleanup more locks.
-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 5cddf37e4..20a052c78 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -543,7 +543,7 @@ module Homebrew
git "checkout", "-f", "master"
git "clean", "-fdx"
git "clean", "-ffdx" unless $?.success?
- pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/head.lock"
+ pr_locks = "#{HOMEBREW_REPOSITORY}/.git/refs/remotes/*/pr/*/*.lock"
Dir.glob(pr_locks) {|lock| FileUtils.rm_rf lock }
end