From 96fd997517c71fc483686eef2a95e3df07c3a336 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 25 Jul 2000 17:05:09 +0000 Subject: fix test --- lang.csh | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1