Browse code

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 <skuznets@redhat.com>

Steve Kuznetsov authored on 2016/12/15 06:34:52
Showing 1 changed files
... ...
@@ -81,10 +81,6 @@ function os::text::clear_string() {
81 81
     fi
82 82
 }
83 83
 
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
-
88 84
 # os::text::internal::is_tty determines if we are outputting to a TTY
89 85
 function os::text::internal::is_tty() {
90 86
 	[[ -t 1 && -n "${TERM:-}" ]]