diff options
author | Đoàn Trần Công Danh <congdanhqx@gmail.com> | 2020-04-08 11:05:34 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-07 22:17:10 -0700 |
commit | 855c158e81d9a39663047c36fe9573a3908d8209 (patch) | |
tree | f2f3ede3d08abd608977e724f8c94ed9390ab311 /ci | |
parent | ci/lib: allow running in GitHub Actions (diff) | |
download | tgif-855c158e81d9a39663047c36fe9573a3908d8209.tar.xz |
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')
-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= |