aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/test-bot.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb
index 71dfd91ed..6ba85396f 100644
--- a/Library/Homebrew/cmd/test-bot.rb
+++ b/Library/Homebrew/cmd/test-bot.rb
@@ -736,7 +736,9 @@ module Homebrew
ENV["GIT_AUTHOR_NAME"] = ENV["GIT_COMMITTER_NAME"]
ENV["GIT_AUTHOR_EMAIL"] = ENV["GIT_COMMITTER_EMAIL"]
- safe_system "brew", "bottle", "--merge", "--write", *Dir["*.bottle.rb"]
+ bottle_args = ["--merge", "--write", *Dir["*.bottle.rb"]]
+ bottle_args << "--tap=#{tap}" if tap
+ safe_system "brew", "bottle", *bottle_args
remote_repo = tap ? tap.gsub("/", "-") : "homebrew"