diff options
author | Ava Chow <github@achow101.com> | 2024-05-01 17:02:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 17:02:36 -0400 |
commit | 602cd676cd4ec95d1143aa6f2c39d661e95a2897 (patch) | |
tree | a61be17af63d8d1010dfe47d23290ca4d47d65e1 /scripts | |
parent | 6fc75b1b2153df40f1ff8312d7086b69bfb091de (diff) |
buildtable.pl: Also check .md files (#1577)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/buildtable.pl | 3 |
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>$]) { |