mdgrep.pl tid
Use the right name for the output file in all places. Thanks Pat.
This commit is contained in:
+3
-1
@@ -48,11 +48,13 @@
|
|||||||
@const_true = qw/1 TRUE/;
|
@const_true = qw/1 TRUE/;
|
||||||
@const_false = qw/0 FALSE/;
|
@const_false = qw/0 FALSE/;
|
||||||
|
|
||||||
|
$outfile = "mdgrep.h";
|
||||||
sub start_file {
|
sub start_file {
|
||||||
($rev) = ('$Revision$') =~ m/: (.*) .$/;
|
($rev) = ('$Revision$') =~ m/: (.*) .$/;
|
||||||
open(OUT, ">mdgrep.h") || die "open mkgrep.h: $!";
|
open(OUT, ">$outfile") || die "open $outfile: $!";
|
||||||
print OUT <<E_O_M;
|
print OUT <<E_O_M;
|
||||||
/*
|
/*
|
||||||
|
* $outfile
|
||||||
* This file generated by mdgrep.pl version $rev.
|
* This file generated by mdgrep.pl version $rev.
|
||||||
* DO NOT EDIT! Your changes will be lost.
|
* DO NOT EDIT! Your changes will be lost.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user