aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlang.csh3
1 files changed, 1 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index 371b1d9d..654ec934 100755
--- a/lang.csh
+++ b/lang.csh
@@ -2,8 +2,7 @@
set sourced=0
foreach file (/etc/sysconfig/i18n $HOME/.i18n)
- test -f $file
- if ($status == 0) then
+ if ( -f $file ) then
eval `sed 's|=C$|=en_US|g' $file | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|' `
endif
set sourced=1