diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 00a0870b26..76be402e11 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -384,6 +384,7 @@ foreach my $file (@ARGV) { } elsif (!(stat $file)) { die "$P: file '${file}' not found: $!\n"; } + $file =~ s,^./,,; } if ($from_filename) { push(@files, $file);