git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a3f2eec
)
ci/lib: set TERM environment variable if not exist
author
Đoàn Trần Công Danh
<redacted>
Wed, 8 Apr 2020 04:05:34 +0000
(11:05 +0700)
committer
Junio C Hamano
<redacted>
Wed, 8 Apr 2020 05:17:10 +0000
(22:17 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
ci/lib.sh
patch
|
blob
|
history
diff --git
a/ci/lib.sh
b/ci/lib.sh
index f92e3a5211d2bcd4b4f35a96dfbc94781ed5cc45..40b159e24d56f1db17eb4ca1c2de294226f0575e 100755
(executable)
--- 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=
git clone https://git.99rst.org/PROJECT