aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/pull.rb5
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)