diff --git a/utils/CI/schema_validation.sh b/utils/CI/schema_validation.sh index e3dd1c3aeb3..817c2a03309 100755 --- a/utils/CI/schema_validation.sh +++ b/utils/CI/schema_validation.sh @@ -2,7 +2,8 @@ shopt -s globstar nullglob -export TERM=${TERM-xterm} # hopefully a good approximation of what github supports +# bash sets TERM to dumb by default but does not export it +compgen -e -X '!TERM' || export TERM=xterm # hopefully a good approximation of what github supports reset=$(tput sgr0) red=$(tput setaf 1) green=$(tput setaf 2)