summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/standalone/localedrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index ef72f498e..499fa6350 100644
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -15,7 +15,8 @@ foreach (@ARGV) {
$klang = $1 if /--kde_lang=(.*)/;
$country = $1 if /--kde_country=(.*)/;
}
-if ($klang) {
+if (defined $klang) {
+ $klang or exit;
my $lang = lang::kde_lang_country2lang($klang, $country);
lang::write('', $lang, $>, 'dont_touch_kde_files') if $apply;