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