aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-08-16 19:03:17 +0000
committerBill Nottingham <notting@redhat.com>2001-08-16 19:03:17 +0000
commit02bbbfe5786691fcaf6abd27c04ae85b19795e6a (patch)
tree95e1c4be6ae434338b812b7c5b61a18844a964e2
parent98c5347ff8711df7d807bb135ffef1f750156a7c (diff)
downloadinitscripts-02bbbfe5786691fcaf6abd27c04ae85b19795e6a.tar
initscripts-02bbbfe5786691fcaf6abd27c04ae85b19795e6a.tar.gz
initscripts-02bbbfe5786691fcaf6abd27c04ae85b19795e6a.tar.bz2
initscripts-02bbbfe5786691fcaf6abd27c04ae85b19795e6a.tar.xz
initscripts-02bbbfe5786691fcaf6abd27c04ae85b19795e6a.zip
check for 13848LANG before using it (#51905)
-rwxr-xr-xlang.csh6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang.csh b/lang.csh
index 8072afc1..2a181515 100755
--- a/lang.csh
+++ b/lang.csh
@@ -63,10 +63,12 @@ if ($sourced == 1) then
unsetenv SYSFONT
endif
-switch ($LANG)
+if ($?LANG)
+ switch ($LANG)
case ja*:
case zh*:
case ko*:
set dspmpbyte=euc
breaksw
-endsw
+ endsw
+endif