Browse Source

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>
Joe Perches 15 years ago
parent
commit
f11e9a1534
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scripts/get_maintainer.pl

+ 2 - 0
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");
 	    }
     }