tag 148859 patch
thanks
On Mon, Jun 03, 2002 at 11:09:03AM +1000, Brian May wrote:
> Mays, Brian has the home page http://snoopy.apana.org.au/~bam/.
>
> However, that is my web page, not Brian Mays web page.
>
> I am listed about 4 entries above Brian Mays without a home page.
The following patch fixes this problem. It also fixes the home
page links for An Thi-Nguyen, James LewisMoss, James Moss, Ean
Schussler, and R Garth Wood.
Matt
--- people.pl.orig Mon Jun 3 07:42:51 2002
+++ people.pl Mon Jun 3 07:41:55 2002
@@ -464,7 +464,7 @@
($firstname,$lastname) = ($2,$1);
# the following looks wierd, but you really do need to check first
# names both ways
- if ($lastname =~ /$ldap_sn/i and ($firstname =~ /$ldap_cn/i or $ldap_cn =~ /$firstname/i)) {
+ if ($lastname =~ /^$ldap_sn$/i and ($firstname =~ /$ldap_cn/i or $ldap_cn =~ /$firstname/i)) {
# print STDERR $person." ".$ldap_sn." ".$homepageurl."\n";
$People{$person}{homepage} = $homepageurl;
$has_package = 1;
Attachment:
pgpzesD5ASg6y.pgp
Description: PGP signature