all.sh --keep-going: work if TERM is unset
This commit is contained in:
parent
4b660eca1e
commit
9736b9d59a
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ if [ $KEEP_GOING -eq 1 ]; then
|
|||
start_red=
|
||||
end_color=
|
||||
if [ -t 1 ]; then
|
||||
case "$TERM" in
|
||||
case "${TERM:-}" in
|
||||
*color*|cygwin|linux|rxvt*|screen|[Eex]term*)
|
||||
start_red=$(printf '\033[31m')
|
||||
end_color=$(printf '\033[0m')
|
||||
|
|
Loading…
Reference in a new issue