From: Đoàn Trần Công Danh Date: Wed, 8 Apr 2020 04:05:34 +0000 (+0700) Subject: ci/lib: set TERM environment variable if not exist X-Git-Tag: v2.27.0-rc0~69^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=855c158e81d9a39663047c36fe9573a3908d8209;p=thirdparty%2Fgit.git ci/lib: set TERM environment variable if not exist GitHub Action doesn't set TERM environment variable, which is required by "tput". Fallback to dumb if it's not set. Signed-off-by: Đoàn Trần Công Danh Signed-off-by: Junio C Hamano --- diff --git a/ci/lib.sh b/ci/lib.sh index f92e3a5211..40b159e24d 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -79,6 +79,9 @@ check_unignored_build_artifacts () } } +# GitHub Action doesn't set TERM, which is required by tput +export TERM=${TERM:-dumb} + # Clear MAKEFLAGS that may come from the outside world. export MAKEFLAGS=