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
commita8aeba7c00a6503e526b8777878d6e592b258080 (patch)
treec755827e6bc0aa88c4f6631315fc04b7c445a01e /bin
parent271acec03636dc19aea4f4741df7a8fe6cc4aa86 (diff)
downloadhomebrew-a8aeba7c00a6503e526b8777878d6e592b258080.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'