brew doctor: add check for GREP_OPTIONS
This commit is contained in:
parent
29ac3efe2e
commit
66110c78e7
@ -565,8 +565,19 @@ def check_for_CLICOLOR_FORCE
|
|||||||
target_var = ENV['CLICOLOR_FORCE'].to_s
|
target_var = ENV['CLICOLOR_FORCE'].to_s
|
||||||
unless target_var.empty?
|
unless target_var.empty?
|
||||||
puts <<-EOS.undent
|
puts <<-EOS.undent
|
||||||
$CLICOLOR_FORCE was set to #{target_var}
|
$CLICOLOR_FORCE was set to \"#{target_var}\".
|
||||||
Having $CLICOLOR_FORCE set can cause git installs to fail.
|
Having $CLICOLOR_FORCE set can cause git builds to fail.
|
||||||
|
|
||||||
|
EOS
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def check_for_GREP_OPTIONS
|
||||||
|
target_var = ENV['GREP_OPTIONS'].to_s
|
||||||
|
unless target_var.empty?
|
||||||
|
puts <<-EOS.undent
|
||||||
|
$GREP_OPTIONS was set to \"#{target_var}\".
|
||||||
|
Having $GREP_OPTIONS set can cause CMake builds to fail.
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
@ -618,6 +629,7 @@ module Homebrew extend self
|
|||||||
check_for_dyld_vars
|
check_for_dyld_vars
|
||||||
check_for_MACOSX_DEPLOYMENT_TARGET
|
check_for_MACOSX_DEPLOYMENT_TARGET
|
||||||
check_for_CLICOLOR_FORCE
|
check_for_CLICOLOR_FORCE
|
||||||
|
check_for_GREP_OPTIONS
|
||||||
check_for_symlinked_cellar
|
check_for_symlinked_cellar
|
||||||
check_for_multiple_volumes
|
check_for_multiple_volumes
|
||||||
check_for_git
|
check_for_git
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user