bottles: expand Bintray tap repository handling.

This commit is contained in:
Mike McQuaid 2015-02-19 11:24:08 +00:00
parent 31028941a9
commit b6f9eb0850

View File

@ -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)