aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-02-19 11:24:08 +0000
committerMike McQuaid2015-02-19 11:24:08 +0000
commitb6f9eb0850ce1bb93328d027bc55e72e83c8bf30 (patch)
tree2567087dfd24bf0eb5698b78411c57f89c3ac2f1 /Library/Homebrew/bottles.rb
parent31028941a9832275c86fd85aea5692b4edfbd1f6 (diff)
downloadbrew-b6f9eb0850ce1bb93328d027bc55e72e83c8bf30.tar.bz2
bottles: expand Bintray tap repository handling.
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)