aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-02-23 17:15:20 +0000
committerMike McQuaid2015-02-23 17:15:20 +0000
commite4251aa557976e696c59f3573d5211e57d874764 (patch)
tree2312daa2c13389f33d3fafbcc7bb0800c30492e0 /Library
parent6320567ef2589cba9454c7cd61071ad3c9d77d50 (diff)
downloadhomebrew-e4251aa557976e696c59f3573d5211e57d874764.tar.bz2
test-bot: upload packages from canonical name.
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