From 3bfea440cbfa3d4e316da9485e0331ef490543d6 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 18 Mar 2012 01:51:10 +0000 Subject: [PATCH] Downcase tap parameters in Formula.canonical_name See previous commit's explanation. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 77ed32c480..8803166048 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?