projects
/
webpac2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't emit STDERR output without DEBUG envirment variable
[webpac2]
/
scripts
/
aleph2iso.pl
diff --git
a/scripts/aleph2iso.pl
b/scripts/aleph2iso.pl
index
7b8df6b
..
b058008
100755
(executable)
--- a/
scripts/aleph2iso.pl
+++ b/
scripts/aleph2iso.pl
@@
-10,6
+10,8
@@
my $source = shift @ARGV || die "usage: $0 file.m21\n";
my $dest = $source;
$dest .= '.iso';
+close(STDERR) unless $ENV{DEBUG};
+
open(my $m21, '<', $source);
open(my $out, '>:encoding(utf-8)', $dest);