font: mkttfinfo: override existing output
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 14 Feb 2015 19:37:02 +0000 (20:37 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 19 Feb 2015 23:21:52 +0000 (00:21 +0100)
Prepare for repeatable use in make rules.

tools/mkttfinfo

index f69bbbb95e79adf89da39c2de64cb2420c99034b..864873aceb6824db6df194ab606dacc0c6e95793 100755 (executable)
@@ -10,7 +10,6 @@ my ($ttfuri, $outfile) = @ARGV;
 $ttfuri or die "usage error\n";
 
 for ($outfile || ()) {
-       !-e $_ or die "Output file $outfile already exists\n";
        open my $output, '>', $_ or die "Cannot write to $outfile: $!\n";
        select $output;
 }