Downcase name when creating new formulae with brew mk

This commit is contained in:
Max Howell committed 2009-06-20 15:46:31 +01:00
1 parent 271acec036
commit a8aeba7c00
1 file changed
+1 -1
+1 -1
View File
@@ -263,7 +263,7 @@ begin
/(.*?)[-_.]?#{version}/.match File.basename(url)
raise "Couldn't parse name from #{url}" if $1.nil?
path=$formula+($1+'.rb')
path=$formula+($1.downcase+'.rb')
raise "#{path} already exists!" if File.exist? path
f=File.new path, 'w'