diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2001-05-15 03:19:47 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2001-05-15 03:19:47 +0000 |
commit | f13a7afca520bc8d7d08eaf661f9714c4ee6b40d (patch) | |
tree | c24eb71e8c36700a3f24366ab776ab100dce61bf /lang.csh | |
parent | 394efeafe348b1c4b78c42766a7ff4a7b1af5b5c (diff) | |
download | initscripts-f13a7afca520bc8d7d08eaf661f9714c4ee6b40d.tar initscripts-f13a7afca520bc8d7d08eaf661f9714c4ee6b40d.tar.gz initscripts-f13a7afca520bc8d7d08eaf661f9714c4ee6b40d.tar.bz2 initscripts-f13a7afca520bc8d7d08eaf661f9714c4ee6b40d.tar.xz initscripts-f13a7afca520bc8d7d08eaf661f9714c4ee6b40d.zip |
- copyright: GPL -> license: GPL
- fix a syntax error in lang.csh
- skip commented-out i18n configuration lines in lang.csh
Diffstat (limited to 'lang.csh')
-rwxr-xr-x | lang.csh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ set sourced=0 foreach file (/etc/sysconfig/i18n $HOME/.i18n) if ( -f $file ) then - eval `sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' $file | sed 's|$|;|' ` + eval `grep -v '^[:blank:]*#' $file | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'` endif set sourced=1 end @@ -35,7 +35,7 @@ if ($sourced == 1) then endif endif breaksw - endif + endsw endif if ($?SYSFONTACM) then switch ($SYSFONTACM) |