diff options
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 695195d9d..108a9d96e 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -296,8 +296,12 @@ Set_config_defaults () esac # Setting live build options + if [ -t 1 ] && [ -t 2 ]; then + _COLOR="${_COLOR:-true}" + else + _COLOR="${_COLOR:-false}" + fi _BREAKPOINTS="${_BREAKPOINTS:-false}" - _COLOR="${_COLOR:-false}" _DEBUG="${_DEBUG:-false}" _FORCE="${_FORCE:-false}" _QUIET="${_QUIET:-false}" |