aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-03-18 02:03:19 +0000
committerMax Howell2012-03-18 02:03:19 +0000
commit059727a9e8e5fc2e7a65727a1d81e31a8af72f89 (patch)
tree84da9254a122456f2917298f4abbdf1b7f92af38 /Library
parentaeb9440b90be70e80de78f547d48f7b70bd364d0 (diff)
downloadbrew-059727a9e8e5fc2e7a65727a1d81e31a8af72f89.tar.bz2
Downcase when checking if no tap search needed
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index fb68020d4..f1417854f 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -42,7 +42,7 @@ module Homebrew extend self
end
def search_tap user, repo, rx
- return [] if (HOMEBREW_LIBRARY/"Taps/#{user}-#{repo}").directory?
+ return [] if (HOMEBREW_LIBRARY/"Taps/#{user.downcase}-#{repo.downcase}").directory?
require 'open-uri'
require 'yaml'