diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 4330b812f7..6fa22feae2 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -181,7 +181,7 @@ class Formula def self.class_s name #remove invalid characters and camelcase - name.capitalize.gsub(/[-_\s]([a-zA-Z0-9])/) { $1.upcase } + name.capitalize.gsub(/[-_\s]([a-zA-Z0-9])/) { $1.upcase }.gsub('+', 'x') end def self.factory name