diff options
author | Michael K. Johnson <johnsonm@redhat.com> | 1999-11-02 16:13:02 +0000 |
---|---|---|
committer | Michael K. Johnson <johnsonm@redhat.com> | 1999-11-02 16:13:02 +0000 |
commit | 075097eebbe3517588943cf51f533824c3a12bab (patch) | |
tree | 7488a58021509bbc9c2fbf14951655df29a33958 /lang.csh | |
parent | 7f8f833645a020a39a3715ee9efff4a31e1e5eff (diff) | |
download | initscripts-075097eebbe3517588943cf51f533824c3a12bab.tar initscripts-075097eebbe3517588943cf51f533824c3a12bab.tar.gz initscripts-075097eebbe3517588943cf51f533824c3a12bab.tar.bz2 initscripts-075097eebbe3517588943cf51f533824c3a12bab.tar.xz initscripts-075097eebbe3517588943cf51f533824c3a12bab.zip |
fix security hole
Diffstat (limited to 'lang.csh')
-rwxr-xr-x | lang.csh | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2,9 +2,7 @@ test -f /etc/sysconfig/i18n if ($status == 0) then - sed 's|=C$|=en_US|g' /etc/sysconfig/i18n | sed "s|=| |g" | sed "s|^\([^#]\)|setenv \0|g" > /tmp/csh.$$ - source /tmp/csh.$$ - rm -f /tmp/csh.$$ + eval `sed 's|=C$|=en_US|g' /etc/sysconfig/i18n | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|' ` if ($?SYSFONTACM) then switch ($SYSFONTACM) |