Bug 17600: Fix POSIX imports
it fixes xgettext and (maybe) friends [12:22:29] Error: Command failed: misc/translator/xgettext.pl --charset=UTF-8 -s -o /tmp/koha-Jaa9rf/Koha-marc-NORMARC.pot -f /tmp/koha-Jaa9rf/files /tmp/koha-Jaa9rf/Koha-marc-NORMARC.pot at misc/translator/xgettext.pl line 387. Use of uninitialized value in subroutine entry at misc/translator/xgettext.pl line 388. Argument ">:encoding(utf-8)" isn't numeric in subroutine entry at misc/translator/xgettext.pl line 388. Argument "/tmp/koha-Jaa9rf/Koha-marc-NORMARC.pot" isn't numeric in subroutine entry at misc/translator/xgettext.pl line 388. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
402bce9b82
commit
903f50b6f0
6 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
|||
use Modern::Perl;
|
||||
|
||||
use CGI qw ( -utf8 );
|
||||
use POSIX qw( exit sprintf );
|
||||
use POSIX;
|
||||
|
||||
use C4::Auth qw( get_template_and_user );
|
||||
use C4::Output qw( output_html_with_http_headers );
|
||||
|
|
|
@ -90,7 +90,7 @@ use Carp qw( croak );
|
|||
use IO::Socket::INET qw( SOCK_STREAM );
|
||||
# use IO::Socket::IP;
|
||||
use IO::Select;
|
||||
use POSIX qw( close exit fork localtime open printf sprintf );
|
||||
use POSIX;
|
||||
use HTTP::Status qw( HTTP_FORBIDDEN HTTP_UNAUTHORIZED );
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -31,7 +31,7 @@ use Template;
|
|||
|
||||
use Koha::Script -cron;
|
||||
use C4::Context;
|
||||
use POSIX qw( close localtime open strftime );
|
||||
use POSIX;
|
||||
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $file = $ARGV[0];
|
||||
|
|
|
@ -10,7 +10,7 @@ use C4::Context;
|
|||
#use MARC::File::XML(BinaryEncoding=>"utf8");
|
||||
#use MARC::File::USMARC;
|
||||
use C4::AuthoritiesMarc;
|
||||
use POSIX qw( close localtime sprintf time );
|
||||
use POSIX;
|
||||
#MARC::File::XML::default_record_format("UNIMARCAUTH");
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $rq= $dbh->prepare(qq|
|
||||
|
|
|
@ -9,7 +9,7 @@ BEGIN {
|
|||
use C4::Context;
|
||||
use MARC::File::XML(BinaryEncoding=>"utf8");
|
||||
use C4::AuthoritiesMarc;
|
||||
use POSIX qw( close localtime open sprintf time );
|
||||
use POSIX;
|
||||
MARC::File::XML::default_record_format("UNIMARCAUTH");
|
||||
my $dbh = C4::Context->dbh;
|
||||
my $rq= $dbh->prepare(qq|
|
||||
|
|
|
@ -27,7 +27,7 @@ use lib $FindBin::Bin;
|
|||
use strict;
|
||||
use warnings;
|
||||
use Getopt::Long qw( GetOptions );
|
||||
use POSIX qw( close exit localtime open printf time );
|
||||
use POSIX;
|
||||
use Locale::PO;
|
||||
use TmplTokenizer;
|
||||
use VerboseWarnings;
|
||||
|
|
Loading…
Reference in a new issue