diff options
| author | Mike McQuaid | 2016-05-08 17:18:19 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-05-08 17:18:19 +0100 |
| commit | 59de2c7ecf34c46ead29c787ce409afdc15f609c (patch) | |
| tree | 8e299302d519ff2050d66e9120f32bfa996afce2 /Library/Homebrew | |
| parent | 0158fc6da8482b5aae140fbef68b20c095b32079 (diff) | |
| download | brew-59de2c7ecf34c46ead29c787ce409afdc15f609c.tar.bz2 | |
pull: fix bottle_tag references.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 654461edb..f8ea1c2f0 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -440,7 +440,7 @@ module Homebrew info["bottle"]["stable"]["files"].keys end - def bottle_info(my_bottle_tag = bottle_tag) + def bottle_info(my_bottle_tag = Utils::Bottles.tag) tag_s = my_bottle_tag.to_s return nil unless info["bottle"]["stable"] btl_info = info["bottle"]["stable"]["files"][tag_s] @@ -453,8 +453,9 @@ module Homebrew end def any_bottle_tag + tag = Utils::Bottles.tag # Prefer native bottles as a convenience for download caching - bottle_tags.include?(bottle_tag) ? bottle_tag : bottle_tags.first + bottle_tags.include?(tag) ? tag : bottle_tags.first end def version(spec_type) |
