diff options
author | Florin Grad <florin@mandriva.com> | 2001-12-05 11:06:39 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2001-12-05 11:06:39 +0000 |
commit | 955d06cd57cd4f35ac48012cc32af02a26eb4dc2 (patch) | |
tree | 5fcf85988402ae578ae63491c3d4f30b8ef438a7 | |
parent | c6a55d26901c7ab1a3d12040e3fbfd43739a6f45 (diff) | |
download | msec-955d06cd57cd4f35ac48012cc32af02a26eb4dc2.tar msec-955d06cd57cd4f35ac48012cc32af02a26eb4dc2.tar.gz msec-955d06cd57cd4f35ac48012cc32af02a26eb4dc2.tar.bz2 msec-955d06cd57cd4f35ac48012cc32af02a26eb4dc2.tar.xz msec-955d06cd57cd4f35ac48012cc32af02a26eb4dc2.zip |
fix the tests, thx to Konrad Bernlohr
-rwxr-xr-x | msec.csh | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -11,12 +11,17 @@ if ! { (echo "${PATH}" | grep -q /usr/games) } then endif # translate sh variables from /etc/sysconfig/msec to their equivalent in csh -if ( -n "$TMOUT" ) then +if ( ${?TMOUT} ) then + if ( "$TMOUT" != "" ) then set autologout=`expr $TMOUT / 60` + endif + endif -if ( -n "$HISTFILESIZE" ) then +if ( ${?HISTFILESIZE} ) then + if ( "$HISTFILESIZE" != "" ) then set history=$HISTFILESIZE + endif endif setenv SECURE_LEVEL ${SECURE_LEVEL} |