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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index d9393a2a9..6e4482b7c 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -49,7 +49,7 @@ end
class Bintray
def self.repository(tap=nil)
return "bottles" if tap.to_s.empty?
- "bottles-#{tap.sub(/^homebrew\/homebrew-/i, "")}"
+ "bottles-#{tap.sub(/^homebrew\/(homebrew-)?/i, "")}"
end
def self.version(path)