summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-13 14:46:47 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-13 14:46:47 +0000
commit8c6e0d50dc1bfc07d89f25f4d94a4c6525003842 (patch)
treec91dd97e66c9d370cc656f0ac8799a562f0c6267 /mdkonline
parente420ff343b130dc81725f64e42fcfb1634fdc496 (diff)
downloadmgaonline-8c6e0d50dc1bfc07d89f25f4d94a4c6525003842.tar
mgaonline-8c6e0d50dc1bfc07d89f25f4d94a4c6525003842.tar.gz
mgaonline-8c6e0d50dc1bfc07d89f25f4d94a4c6525003842.tar.bz2
mgaonline-8c6e0d50dc1bfc07d89f25f4d94a4c6525003842.tar.xz
mgaonline-8c6e0d50dc1bfc07d89f25f4d94a4c6525003842.zip
do not override --country option
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkonline b/mdkonline
index e6a22ae4..7ade9d20 100755
--- a/mdkonline
+++ b/mdkonline
@@ -97,7 +97,7 @@ my @greets = (N("Mr."), N("Mrs."), N("Ms."));
my %countries = map { lang::c2name($_) => $_ } lang::list_countries();
my $locale = lang::read('', $>);
-$country = lang::c2name($locale->{country});
+$country ||= lang::c2name($locale->{country});
my $lang = $locale->{lang} || 'en_US';
my $descboxname;