From 59e72005ed642c4f01e4071dce1d331032060d15 Mon Sep 17 00:00:00 2001
From: Julian Maurice <julian.maurice@biblibre.com>
Date: Mon, 29 Jun 2020 16:57:11 +0400
Subject: [PATCH] Bug 21395: Fix creation of PO file
---
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.20.1