aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 5cd575b27..7e457a790 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -684,10 +684,10 @@ end
def check_for_GREP_OPTIONS
target_var = ENV['GREP_OPTIONS'].to_s
- unless target_var.empty?
+ unless target_var.empty? or target_var == '--color=auto'
puts <<-EOS.undent
$GREP_OPTIONS was set to \"#{target_var}\".
- Having $GREP_OPTIONS set can cause CMake builds to fail.
+ Having $GREP_OPTIONS set this way can cause CMake builds to fail.
EOS
end