X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/00cfe3f286b5a620a163911ccb6d2be62816b80e..11d7c545340a8f2cc54ce7530758a6e0478c6716:/scripts/dbupgrade2_tool.pl diff --git a/scripts/dbupgrade2_tool.pl b/scripts/dbupgrade2_tool.pl index f4a7bb7e7..45e455652 100755 --- a/scripts/dbupgrade2_tool.pl +++ b/scripts/dbupgrade2_tool.pl @@ -2,7 +2,7 @@ BEGIN { if (! -d "bin" || ! -d "SL") { - print("This tool must be run from the Lx-Office ERP base directory.\n"); + print("This tool must be run from the kivitendo ERP base directory.\n"); exit(1); } @@ -263,7 +263,7 @@ sub create_upgrade { die "file '$full_filename' already exists, aborting" if -f $full_filename; - open my $fh, ">:utf8", $full_filename or die "can't open $full_filename"; + open my $fh, ">:encoding($encoding)", $full_filename or die "can't open $full_filename"; print $fh "$comment \@tag: $filename\n"; print $fh "$comment \@description: $description\n"; print $fh "$comment \@depends: @depends\n";