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
commit54347843ed9434d436ad65710378f0010c05412f (patch)
tree915d8c89fba0c5b2f239da751db2571221356a1e /Library
parent62815f4b3d6f41ca1fd3696fab4fba4517945dce (diff)
downloadbrew-54347843ed9434d436ad65710378f0010c05412f.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:'