From 54347843ed9434d436ad65710378f0010c05412f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 23 Nov 2014 17:16:59 +0000 Subject: [PATCH] pull: support downloading bottles for taps. --- Library/Homebrew/cmd/pull.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 7824b765fa..594aaba651 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -139,7 +139,11 @@ module Homebrew end if ARGV.include? "--bottle" - pull_url "https://github.com/BrewTestBot/homebrew/compare/homebrew:master...pr-#{issue}" + if tap_name + pull_url "https://github.com/BrewTestBot/homebrew-#{tap_name}/compare/homebrew:master...pr-#{issue}" + else + pull_url "https://github.com/BrewTestBot/homebrew/compare/homebrew:master...pr-#{issue}" + end end ohai 'Patch changed:'