https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42302 --- Comment #5 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 196988 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196988&action=edit Bug 42302: Fix xgettext.pl's STDOUT output xgettext.pl tries to produce output to STDOUT by default, but fails because of an error in the code. It should go to the actual STDOUT instead of a file named '&STDOUT'. Test plan: 1. Run xgettext.pl: echo koha-tmpl/opac-tmpl/bootstrap/en/includes/serial-status.inc > transfiles ./misc/translator/xgettext.pl -vaf transfiles 2. Observe no standard output, and the existence of a file called `&STDOUT`. Output to the screen is: echo koha-tmpl/opac-tmpl/bootstrap/en/includes/serial-status.inc > transfiles kohadev-koha@kohadevbox:koha(main)$ ./misc/translator/xgettext.pl -vaf transfiles ./misc/translator/xgettext.pl: Outputting to STDOUT... ./misc/translator/xgettext.pl: Opening input file list "transfiles" ./misc/translator/xgettext.pl: Processing file "./koha-tmpl/opac-tmpl/bootstrap/en/includes/serial-status.inc" 3. Apply the patch. 4. Run again. 5. Observe that information is output to the screen (see example of outpunt in the bug comment). Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.