aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2009-06-20 15:46:31 +0100
committerMax Howell2009-06-20 15:46:31 +0100
commit7d56cfb879e80efcaa309aa3941983e7bdfd3988 (patch)
tree960f08b8a1ae84f8f9514b6816886e5db931e770 /bin
parent1ddc1b764602a5a4b8355b2abd76d297ded9d276 (diff)
downloadbrew-7d56cfb879e80efcaa309aa3941983e7bdfd3988.tar.bz2
Downcase name when creating new formulae with brew mk
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index fd57ebc3a..29058a000 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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'