aboutsummaryrefslogtreecommitdiffstats
path: root/lang.csh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-07-25 17:05:09 +0000
committerBill Nottingham <notting@redhat.com>2000-07-25 17:05:09 +0000
commit96fd997517c71fc483686eef2a95e3df07c3a336 (patch)
treedd535b79531bbea0f99aa8b375ae8fc18068dc47 /lang.csh
parent2ec9979c7df9592a577c86792bec17fe7103c80e (diff)
downloadinitscripts-96fd997517c71fc483686eef2a95e3df07c3a336.tar
initscripts-96fd997517c71fc483686eef2a95e3df07c3a336.tar.gz
initscripts-96fd997517c71fc483686eef2a95e3df07c3a336.tar.bz2
initscripts-96fd997517c71fc483686eef2a95e3df07c3a336.tar.xz
initscripts-96fd997517c71fc483686eef2a95e3df07c3a336.zip
fix testr5-37
Diffstat (limited to 'lang.csh')
-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