gunzip.pl: use binary output mode

Fixes an issue with LF being turned into CRLF on Windows
develop
lethosor 2017-04-30 17:06:57 -04:00
parent 932a49e89e
commit 03f56f7315
1 changed files with 1 additions and 1 deletions

@ -18,4 +18,4 @@ if (-f $out_file and !exists($args{'--force'})) {
die "output file exists, not overwriting: \"$out_file\"";
}
gunzip $in_file => $out_file or die "gunzip failed: $GunzipError\n";
gunzip $in_file => $out_file, BinModeOut => 1 or die "gunzip failed: $GunzipError\n";