diff options
author | unknown <msvensson@shellback.(none)> | 2006-10-11 19:41:36 +0200 |
---|---|---|
committer | unknown <msvensson@shellback.(none)> | 2006-10-11 19:41:36 +0200 |
commit | 067134b5b704b6bcc00045098b40db64a07bed3c (patch) | |
tree | 771c16b23fc140d4a4d6fc532fb038d7d902beee /netware | |
parent | fff2821f4016290b1b10fc40d33290a11e3345bb (diff) | |
parent | 576fd5a5eee99c15923f39750ffb3a20941be705 (diff) | |
download | mariadb-git-067134b5b704b6bcc00045098b40db64a07bed3c.tar.gz |
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.1-maint
netware/BUILD/mwenv:
Auto merged
Diffstat (limited to 'netware')
-rwxr-xr-x | netware/BUILD/mwenv | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/netware/BUILD/mwenv b/netware/BUILD/mwenv index d8d53293b2c..dd055ad8270 100755 --- a/netware/BUILD/mwenv +++ b/netware/BUILD/mwenv @@ -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 + |