turn on colour by default
...when stdout+stderr connected to a tty (as opposed for example to being piped to a log file) very helpful to have colour such that the red/yellow of errors/warnings can draw the eye to problems. Gbp-Dch: Short
This commit is contained in:
parent
49e68da5ee
commit
09b279b7bc
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue