diff options
| -rw-r--r-- | Library/Homebrew/bottles.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 6e4482b7c..afa3fe2f6 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -47,6 +47,10 @@ def bottle_filename_formula_name filename  end  class Bintray +  def self.package(formula_name) +    formula_name.to_s.gsub "+", "x" +  end +    def self.repository(tap=nil)      return "bottles" if tap.to_s.empty?      "bottles-#{tap.sub(/^homebrew\/(homebrew-)?/i, "")}"  | 
