mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 06:31:06 +00:00
all.sh --keep-going: work if TERM is unset
This commit is contained in:
parent
33df5b34f6
commit
92deeaa47f
|
@ -284,7 +284,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