From d40eaab6d3540061caee6d74ce657f444bbd7310 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 29 Jun 2020 16:57:11 +0400 Subject: [PATCH] Bug 21395: Fix creation of PO file Signed-off-by: Jonathan Druart (cherry picked from commit 133a3ef168af12897ba4c670db25d674fc876864) Signed-off-by: Lucas Gass --- misc/translator/tmpl_process3.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl index 0f7b3a2a76..45a9b6e7a8 100755 --- a/misc/translator/tmpl_process3.pl +++ b/misc/translator/tmpl_process3.pl @@ -379,7 +379,7 @@ if ($action eq 'create') { open(my $infh, '<', $tmpfile2); open(my $outfh, '>', $str_file); while (<$infh>) { - print $outfh; + print $outfh $_; last if /^\n/s; } close $infh; -- 2.39.5