diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 278d8150bf..fb68020d48 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