Strip leading ./
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 30 Jul 2003 09:11:06 +0000 (09:11 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 30 Jul 2003 09:11:06 +0000 (09:11 +0000)
p4raw-id: //depot/perl@20336

Porting/Modules

index 9de5385..5f7dff5 100644 (file)
@@ -121,6 +121,8 @@ if ($Maintainer) {
 } elsif (@Files) {
     my %ModuleByFile;
 
+    for (@Files) { s:^\./:: }
+
     @ModuleByFile{@Files} = ();
 
     # First try fast match.