Skip to content
Snippets Groups Projects
Commit 9a984681 authored by Jack Nagel's avatar Jack Nagel
Browse files

doctor: correctly detect CLICOLOR_FORCE


Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 0dbf06bb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment