Skip to content

Commit 87aa129

Browse files
Remove $TERM export from our Bash library
The Travis team has responded to the issues with `$TERM` being set but not exported, so we should be able to stop carrying this hack and still get correct execution on Travis CI. Signed-off-by: Steve Kuznetsov <[email protected]>
1 parent e9e7618 commit 87aa129

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

hack/lib/util/text.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ function os::text::clear_string() {
8181
fi
8282
}
8383

84-
# If $TERM is set but not exported, we will not be able to call
85-
# tput. Therefore, we export whatever is present in $TERM.
86-
export TERM
87-
8884
# os::text::internal::is_tty determines if we are outputting to a TTY
8985
function os::text::internal::is_tty() {
9086
[[ -t 1 && -n "${TERM:-}" ]]

0 commit comments

Comments
 (0)