summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2024-05-01 17:02:36 -0400
committerGitHub <noreply@github.com>2024-05-01 17:02:36 -0400
commit602cd676cd4ec95d1143aa6f2c39d661e95a2897 (patch)
treea61be17af63d8d1010dfe47d23290ca4d47d65e1 /scripts
parent6fc75b1b2153df40f1ff8312d7086b69bfb091de (diff)
buildtable.pl: Also check .md files (#1577)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtable.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/buildtable.pl b/scripts/buildtable.pl
index 292f1ee..4923a9e 100755
--- a/scripts/buildtable.pl
+++ b/scripts/buildtable.pl
@@ -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>$]) {