diff --git a/scripts/buildtable.pl b/scripts/buildtable.pl index a923b377..be6c9006 100755 --- a/scripts/buildtable.pl +++ b/scripts/buildtable.pl @@ -137,7 +137,7 @@ while (++$bipnum <= $topbip) { } } my %found; - my ($title, $authors, $status, $version, $type, $layer); + my ($title, $owners, $status, $version, $type, $layer); my ($field, $val, @field_order, $continuation); while (<$F>) { last if ($is_markdown && m[^```$]); @@ -169,20 +169,20 @@ while (++$bipnum <= $topbip) { my ($authorname, $authoremail) = ($1, $2); $authoremail =~ s/(?<=\D)$bipnum(?=\D)//g; $emails{$authorname}->{$authoremail} = undef; - if (defined $authors) { - $authors .= ", $authorname"; + if (defined $owners) { + $owners .= ", $authorname"; } else { - $authors = $authorname; + $owners = $authorname; } } elsif ($field eq 'Deputies') { $val =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.-]+\.\w+)\>$/ or die "Malformed Deputies line in $fn"; my ($deputyname, $deputyemail) = ($1, $2); $deputyemail =~ s/(?<=\D)$bipnum(?=\D)//g; $emails{$deputyname}->{$deputyemail} = undef; - if (defined $authors) { - $authors .= ", $deputyname"; + if (defined $owners) { + $owners .= ", $deputyname"; } else { - $authors = $deputyname; + $owners = $deputyname; } } elsif ($field eq 'Status') { if ($bipnum == 38) { # HACK @@ -255,7 +255,7 @@ while (++$bipnum <= $topbip) { } } print "| ${title}\n"; - print "| ${authors}\n"; + print "| ${owners}\n"; print "| ${type}\n"; print "| ${status}\n"; close $F;