diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-06-22 09:11:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-06-22 09:11:21 +0000 |
commit | 17839ea92391f4e928792c529e20f9bbe4b3f359 (patch) | |
tree | 7ad9ffefc974f9b6835b63b29c37756ec3c34c0f | |
parent | 23b6730fd3064cea10b4d992df37c2446c3d891f (diff) | |
download | msec-17839ea92391f4e928792c529e20f9bbe4b3f359.tar msec-17839ea92391f4e928792c529e20f9bbe4b3f359.tar.gz msec-17839ea92391f4e928792c529e20f9bbe4b3f359.tar.bz2 msec-17839ea92391f4e928792c529e20f9bbe4b3f359.tar.xz msec-17839ea92391f4e928792c529e20f9bbe4b3f359.zip |
you can't do
if ( ${?SECURE_LEVEL} && ${SECURE_LEVEL} <= 1 ) then
in csh
-rwxr-xr-x | msec.csh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -40,9 +40,11 @@ if ! { (echo "${PATH}" | /bin/grep -q /usr/games) } then setenv PATH "${PATH}:/usr/games" endif -if ( ${?SECURE_LEVEL} && ${SECURE_LEVEL} <= 1 ) then - if ! { (echo "${PATH}" | /bin/fgrep -q :.) } then - setenv PATH "${PATH}:." +if ( ${?SECURE_LEVEL} ) then + if ( ${SECURE_LEVEL} <= 1 ) then + if ! { (echo "${PATH}" | /bin/fgrep -q :.) } then + setenv PATH "${PATH}:." + endif endif endif |