From ec66d1f956f229f822a93ab45853ce1b1ad68aa4 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 16 Feb 2012 17:12:53 +0000 Subject: Delete ENV[GREP_OPTIONS] and the related doctor check Can break CMAKE builds. --- Library/Homebrew/cmd/doctor.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 6bfc792b7..5465a442f 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -697,17 +697,6 @@ def check_for_CLICOLOR_FORCE end end -def check_for_GREP_OPTIONS - target_var = ENV['GREP_OPTIONS'].to_s - unless target_var.empty? or target_var == '--color=auto' - puts <<-EOS.undent - GREP_OPTIONS was set to \"#{target_var}\". - Having GREP_OPTIONS set this way can cause CMake builds to fail. - - EOS - end -end - def check_for_other_frameworks # Other frameworks that are known to cause problems when present ["/Library/Frameworks/expat.framework", "/Library/Frameworks/libexpat.framework"].each do |f| @@ -863,7 +852,6 @@ module Homebrew extend self check_for_dyld_vars check_for_MACOSX_DEPLOYMENT_TARGET check_for_CLICOLOR_FORCE - check_for_GREP_OPTIONS check_for_symlinked_cellar check_for_multiple_volumes check_for_git -- cgit v1.2.3