Commit 64ead32f authored by Michael Pyne's avatar Michael Pyne

Change mapping of l10n alias to correct l10n{kde3,kde4} module name earlier to...

Change mapping of l10n alias to correct l10n{kde3,kde4} module name earlier to avoid warnings about undefined modules.

svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=830274
parent 5ee67285
......@@ -4147,12 +4147,16 @@ sub handle_updates
# passed to svn.
install_missing_ssl_signature();
# Calculate l10n module name.
# Calculate l10n module name. The logic is duplicated on purpose with
# filter_l10n_module_list because we have to handle the $l10n/scripts
# directory specially (just on update).
my $l10n = 'l10n-kde4';
$l10n = 'l10n-kde3' if get_option('global', 'use-stable-kde');
foreach my $module (@update_list)
{
$module = $l10n if $module eq 'l10n'; # Correct internal name.
check_for_module_config ($module);
if(get_option($module, 'no-svn'))
......@@ -4162,7 +4166,6 @@ sub handle_updates
}
my @options = split(' ', get_option($module, 'checkout-only'));
$module = $l10n if $module eq 'l10n'; # Correct internal name.
# Use kde-langauges option if this isn't set on command line.
if ($module eq $l10n and not scalar @options)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment