pull: support downloading bottles for taps.

This commit is contained in:
Mike McQuaid 2014-11-23 17:16:59 +00:00
parent 62815f4b3d
commit 54347843ed

View File

@ -139,7 +139,11 @@ module Homebrew
end end
if ARGV.include? "--bottle" 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 end
ohai 'Patch changed:' ohai 'Patch changed:'