aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-06 10:56:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-06 10:56:55 +0000
commit6b5c0cedf74e4fbdb2823385859a29fd2cbe2ff7 (patch)
treeecae9e1f0c7e97b70e3cd31c29147794c80151e8
parent927830accb3e3609546bde2c2840c9d487f22ed7 (diff)
downloadmsec-6b5c0cedf74e4fbdb2823385859a29fd2cbe2ff7.tar
msec-6b5c0cedf74e4fbdb2823385859a29fd2cbe2ff7.tar.gz
msec-6b5c0cedf74e4fbdb2823385859a29fd2cbe2ff7.tar.bz2
msec-6b5c0cedf74e4fbdb2823385859a29fd2cbe2ff7.tar.xz
msec-6b5c0cedf74e4fbdb2823385859a29fd2cbe2ff7.zip
more csh-ish msec.csh
-rwxr-xr-xmsec.csh2
-rw-r--r--msec.spec2
2 files changed, 3 insertions, 1 deletions
diff --git a/msec.csh b/msec.csh
index 3c03754..806136e 100755
--- a/msec.csh
+++ b/msec.csh
@@ -12,7 +12,7 @@ if ( -r /etc/sysconfig/msec ) then
eval `sed -n 's/^\([^#]*\)=\([^#]*\)/set \1=\2;/p' < /etc/sysconfig/msec`
endif
-if ( "`id -u`" >= 500 ) then
+if ( $uid >= 500 ) then
if ( ${?UMASK_USER} ) then
umask ${UMASK_USER}
else
diff --git a/msec.spec b/msec.spec
index cc4988b..b086315 100644
--- a/msec.spec
+++ b/msec.spec
@@ -152,6 +152,8 @@ rm -rf $RPM_BUILD_ROOT
# MAKE THE CHANGES IN CVS: NO PATCH OR SOURCE ALLOWED
%changelog
+- more csh-ish msec.csh
+
* Wed Sep 3 2003 Frederic Lepied <flepied@mandrakesoft.com> 0.40-1mdk
- corrected strange permission settings in /var/log (bug #4854)
- allow set_shell_history_size(-1) in level.local (bug #4392)