Fix append behaviour for STDOUT
Change-Id: I295dc5e16a5c63475d418b97bc143b6d54a269f5
diff --git a/script/conllu2korapxml b/script/conllu2korapxml
index 64ba69b..5301c39 100755
--- a/script/conllu2korapxml
+++ b/script/conllu2korapxml
@@ -14,7 +14,7 @@
my %opts;
my %processedFilenames;
-our $VERSION = '0.6.0';
+our $VERSION = '0.6.1';
our $VERSION_MSG = "\nconllu2korapxml - v$VERSION\n";
use constant {
@@ -201,7 +201,7 @@
or die "ERROR ('$fname'): zip failed: $ZipError\n";
} else {
$zip = new IO::Compress::Zip $outh, Zip64 => 1, TextFlag => 1,
- Method => $_COMPRESSION_METHOD, Append => 1, Name => "$fname"
+ Method => $_COMPRESSION_METHOD, Append => 0, Name => "$fname"
or die "ERROR ('$fname'): zip failed: $ZipError\n";
}
}
diff --git a/script/korapxml2conllu b/script/korapxml2conllu
index f50a736..a3c0f0f 100755
--- a/script/korapxml2conllu
+++ b/script/korapxml2conllu
@@ -26,7 +26,7 @@
my $lm_training_data = 0;
-our $VERSION = '0.6.0';
+our $VERSION = '0.6.1';
our $VERSION_MSG = "\nkorapxml2conllu - v$VERSION\n";