aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-11-23 17:16:59 +0000
committerMike McQuaid2014-11-23 17:16:59 +0000
commit0f1b9d5d609bda027fa66a611644ab5cb6caf713 (patch)
tree17c418a65dae184f848bf0c00291f78f1b026a81 /Library
parent5f79a9ab4615701b2e96d65710721ea0c01a888f (diff)
downloadhomebrew-0f1b9d5d609bda027fa66a611644ab5cb6caf713.tar.bz2
pull: support downloading bottles for taps.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/pull.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index 7824b765f..594aaba65 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:'