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
commitab571e4d725d45ddf78cacb59377348902c13c39 (patch)
treec03beb6ff2810e59f49444b0f4a984d536697c15 /Library
parente8203459027a0962b0c7f12dd5ed14b6a96b00b6 (diff)
downloadhomebrew-ab571e4d725d45ddf78cacb59377348902c13c39.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'