diff options
| author | Jack Nagel | 2011-10-18 20:10:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-10-18 20:10:57 -0500 |
| commit | 10ca43558804528caef45689f1b6bb9dd0aa20ac (patch) | |
| tree | 11177957f5b0c8d2084b74cd5443053629f74b98 /Library | |
| parent | 8b386055e210dd863de6c7d4af892cce644804b6 (diff) | |
| download | homebrew-10ca43558804528caef45689f1b6bb9dd0aa20ac.tar.bz2 | |
doctor: correctly detect CLICOLOR_FORCE
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 339a7a72c..ae7b5ea4d 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -685,11 +685,10 @@ def check_for_MACOSX_DEPLOYMENT_TARGET end def check_for_CLICOLOR_FORCE - target_var = ENV['CLICOLOR_FORCE'].to_s - unless target_var.empty? + if ENV['CLICOLOR_FORCE'] puts <<-EOS.undent - $CLICOLOR_FORCE was set to \"#{target_var}\". - Having $CLICOLOR_FORCE set can cause git builds to fail. + Having $CLICOLOR_FORCE set can cause some builds to fail. + You may want to unset it. EOS end |
