diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-08 07:05:34 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-08 08:17:10 +0300 |
commit | 855c158e81d9a39663047c36fe9573a3908d8209 (patch) | |
tree | f2f3ede3d08abd608977e724f8c94ed9390ab311 /ci/lib.sh | |
parent | a3f2eec862b6f075e7012b079effa8f355dffa87 (diff) |
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 <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/lib.sh')
-rwxr-xr-x | ci/lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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= |