aboutsummaryrefslogtreecommitdiffstats
path: root/msec.csh
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-22 09:11:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-22 09:11:21 +0000
commit17839ea92391f4e928792c529e20f9bbe4b3f359 (patch)
tree7ad9ffefc974f9b6835b63b29c37756ec3c34c0f /msec.csh
parent23b6730fd3064cea10b4d992df37c2446c3d891f (diff)
downloadmsec-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
Diffstat (limited to 'msec.csh')
-rwxr-xr-xmsec.csh8
1 files changed, 5 insertions, 3 deletions
diff --git a/msec.csh b/msec.csh
index 806136e..3382e66 100755
--- a/msec.csh
+++ b/msec.csh
@@ -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