Check that TERM has been set to avoid problem "Error opening
terminal: unknown" when the script is executed using non interactive ssh Set TERM to "linux" as default netware/BUILD/mwenv: Check that TERM has been set to avoid problem "Error opening terminal: unknown" when the script is executed using non interactive ssh
This commit is contained in:
parent
8b1f416be8
commit
576fd5a5ee
@ -46,3 +46,13 @@ export LD='mwldnlm'
|
||||
export LDFLAGS='-entry _LibCPrelude -exit _LibCPostlude -map -flags pseudopreemption'
|
||||
export RANLIB=:
|
||||
export STRIP=:
|
||||
|
||||
#
|
||||
# Check that TERM has been set to avoid problem "Error opening
|
||||
# terminal: unknown" when the script is executed using non interactive ssh
|
||||
#
|
||||
if test -z "$TERM" -o "$TERM"=dumb
|
||||
then
|
||||
export TERM=linux
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user