Fix CLICOLOR_FORCE check
This commit is contained in:
parent
7776f7ee11
commit
2decef8c36
@ -562,10 +562,8 @@ def check_for_MACOSX_DEPLOYMENT_TARGET
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_for_CLICOLOR_FORCE
|
def check_for_CLICOLOR_FORCE
|
||||||
target_var = ENV['CLICOLOR_FORCE']
|
target_var = ENV['CLICOLOR_FORCE'].to_s
|
||||||
return if target_var.to_s.empty?
|
unless target_var.empty?
|
||||||
|
|
||||||
unless target_var == MACOS_VERSION.to_s
|
|
||||||
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 installs to fail.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user