aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 791ac5784..71dfd91ed 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -725,8 +725,12 @@ module Homebrew
existing_bottles = {}
Dir.glob("*.bottle*.tar.gz") do |filename|
formula_name = bottle_filename_formula_name filename
- formula = Formulary.factory formula_name rescue nil
- next unless formula
+ canonical_formula_name = if tap
+ "#{tap}/#{formula_name}"
+ else
+ formula_name
+ end
+ formula = Formulary.factory canonical_formula_name
existing_bottles[formula_name] = !!formula.bottle
end