mirror of
https://github.com/bitcoin/bips.git
synced 2024-11-19 01:40:05 +01:00
buildtable.pl: Also check .md files (#1577)
This commit is contained in:
parent
6fc75b1b21
commit
602cd676cd
@ -96,6 +96,9 @@ my %emails;
|
||||
my $bipnum = 0;
|
||||
while (++$bipnum <= $topbip) {
|
||||
my $fn = sprintf "bip-%04d.mediawiki", $bipnum;
|
||||
if (!-e $fn) {
|
||||
$fn = sprintf "bip-%04d.md", $bipnum;
|
||||
}
|
||||
-e $fn || next;
|
||||
open my $F, "<$fn";
|
||||
while (<$F> !~ m[^(?:\xef\xbb\xbf)?<pre>$]) {
|
||||
|
Loading…
Reference in New Issue
Block a user