summaryrefslogtreecommitdiffstats
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-03-05 22:43:03 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 20:26:34 +0100
commitf11e9a1534c5e9dd4be97b30e6b24902e0ec325b (patch)
treee756158c54ca6b302b0c2ffa568359241a2983a4 /scripts/get_maintainer.pl
parentscripts/get_maintainer.pl: add --sections, print entire matched subsystem (diff)
downloadlinux-f11e9a1534c5e9dd4be97b30e6b24902e0ec325b.tar.xz
linux-f11e9a1534c5e9dd4be97b30e6b24902e0ec325b.zip
scripts/get_maintainer.pl: change --sections to print in the same style as MAINTAINERS
Signed-off-by: Joe Perches <joe@perches.com> Cc: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/get_maintainer.pl')
-rwxr-xr-xscripts/get_maintainer.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index e54f72f6c341..4cd83fae87ca 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -381,8 +381,10 @@ foreach my $file (@files) {
$line =~ s/\\\./\./g; ##Convert \. to .
$line =~ s/\.\*/\*/g; ##Convert .* to *
}
+ $line =~ s/^([A-Z]):/$1:\t/g;
print("$line\n");
}
+ print("\n");
}
}