aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/bottles.rb')
-rw-r--r--Library/Homebrew/bottles.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 07e96e210..b18fde477 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -47,7 +47,7 @@ def bottle_resolve_formula_names(bottle_file)
name = receipt_file_path.split("/").first
tap = Tab.from_file_content(receipt_file, "#{bottle_file}/#{receipt_file_path}").tap
- if tap.nil? || tap.core_formula_repository?
+ if tap.nil? || tap.core_tap?
full_name = name
else
full_name = "#{tap}/#{name}"
@@ -66,7 +66,7 @@ class Bintray
end
def self.repository(tap = nil)
- if tap.nil? || tap.core_formula_repository?
+ if tap.nil? || tap.core_tap?
"bottles"
else
"bottles-#{tap.repo}"