瀏覽代碼

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 年之前
父節點
當前提交
f11e9a1534
共有 1 個文件被更改,包括 2 次插入0 次删除
  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");
 	    }
     }