aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-03-18 01:51:10 +0000
committerMax Howell2012-03-18 01:51:10 +0000
commit3bfea440cbfa3d4e316da9485e0331ef490543d6 (patch)
tree7c71bb157c6d1f1c278627186726fb78faed4aef
parentceeb768c84d785d9e2686e9b5a5d73ff4ee9d194 (diff)
downloadbrew-3bfea440cbfa3d4e316da9485e0331ef490543d6.tar.bz2
Downcase tap parameters in Formula.canonical_name
See previous commit's explanation.
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 77ed32c48..880316604 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -291,7 +291,7 @@ class Formula
if name.include? "/"
if name =~ %r{(.+)/(.+)/(.+)}
- tapd = HOMEBREW_REPOSITORY/"Library/Taps/#$1-#$2"
+ tapd = HOMEBREW_REPOSITORY/"Library/Taps"/"#$1-#$2".downcase
tapd.find_formula do |relative_pathname|
return "#{tapd}/#{relative_pathname}" if relative_pathname.stem.to_s == $3
end if tapd.directory?