projects
/
webpac2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b155097
)
don't emit STDERR output without DEBUG envirment variable
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 27 Apr 2015 17:01:45 +0000
(19:01 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 27 Apr 2015 17:01:45 +0000
(19:01 +0200)
scripts/aleph2iso.pl
patch
|
blob
|
history
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);