aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.csh')
-rwxr-xr-xlang.csh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index 1ded61c6..9adf31fb 100755
--- a/lang.csh
+++ b/lang.csh
@@ -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)