aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/search.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb
index 278d8150b..fb68020d4 100644
--- a/Library/Homebrew/cmd/search.rb
+++ b/Library/Homebrew/cmd/search.rb
@@ -49,6 +49,7 @@ module Homebrew extend self
results = []
open "http://github.com/api/v2/yaml/blob/all/#{user}/homebrew-#{repo}/master" do |f|
+ user.downcase! if user == "Homebrew" # special handling for the Homebrew organization
YAML::load(f.read)["blobs"].each do |file, _|
name = File.basename(file, '.rb')
if file =~ /\.rb$/ and name =~ rx