Author: jani Date: Fri Aug 16 17:57:26 2013 New Revision: 1514822 URL: http://svn.apache.org/r1514822 Log: when using --genPO deliver is not called
Modified: openoffice/branches/l10n40/main/solenv/bin/build.pl Modified: openoffice/branches/l10n40/main/solenv/bin/build.pl URL: http://svn.apache.org/viewvc/openoffice/branches/l10n40/main/solenv/bin/build.pl?rev=1514822&r1=1514821&r2=1514822&view=diff ============================================================================== --- openoffice/branches/l10n40/main/solenv/bin/build.pl (original) +++ openoffice/branches/l10n40/main/solenv/bin/build.pl Fri Aug 16 17:57:26 2013 @@ -1481,7 +1481,7 @@ sub get_options { $arg =~ /^-P$/ and $processes_to_run = shift @ARGV and next; $arg =~ /^-P(\d+)$/ and $processes_to_run = $1 and next; $arg =~ /^--all$/ and $build_all_parents = 1 and next; - $arg =~ /^--genPO$/ and push (@dmake_args, "genPO") and next; + $arg =~ /^--genPO$/ and push (@dmake_args, "genPO") and $build_genPO = 1 and next; $arg =~ /^-a$/ and $build_all_parents = 1 and next; $arg =~ /^--show$/ and $show = 1 and next; $arg =~ /^--checkmodules$/ and $checkparents = 1 and $ignore = 1 and next; @@ -1579,7 +1579,7 @@ sub get_options { }; print_error('Switches --job and --deliver collision') if ($custom_job && $deliver); $custom_job = 'deliver' if $deliver; - $post_job = 'deliver' if (!$custom_job); + $post_job = 'deliver' if (!$custom_job && !$build_genPO); $incompatible = scalar keys %incompatibles; if ($prepare) { print_error("--prepare is for use with --from switch only!\n") if (!$incompatible);