aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/get_maintainer.pl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-26 17:22:51 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 19:52:17 -0400
commit6ffd9485f5c9c0b2d2aea9f904dff08e7088010a (patch)
treeec218dae483467fe5923f6d4e6ea9184ba73457b /scripts/get_maintainer.pl
parent63ab52db5ba7f362266cfed03109387ca73e5eb5 (diff)
scripts/get_maintainer.pl: use correct indentation
Fix an overly indented block. Signed-off-by: Joe Perches <joe@perches.com> 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.pl30
1 files changed, 15 insertions, 15 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index a91ae6318403..65c6acf1bb3b 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -420,23 +420,23 @@ foreach my $file (@files) {
420 420
421 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) { 421 foreach my $line (sort {$hash{$b} <=> $hash{$a}} keys %hash) {
422 add_categories($line); 422 add_categories($line);
423 if ($sections) { 423 if ($sections) {
424 my $i; 424 my $i;
425 my $start = find_starting_index($line); 425 my $start = find_starting_index($line);
426 my $end = find_ending_index($line); 426 my $end = find_ending_index($line);
427 for ($i = $start; $i < $end; $i++) { 427 for ($i = $start; $i < $end; $i++) {
428 my $line = $typevalue[$i]; 428 my $line = $typevalue[$i];
429 if ($line =~ /^[FX]:/) { ##Restore file patterns 429 if ($line =~ /^[FX]:/) { ##Restore file patterns
430 $line =~ s/([^\\])\.([^\*])/$1\?$2/g; 430 $line =~ s/([^\\])\.([^\*])/$1\?$2/g;
431 $line =~ s/([^\\])\.$/$1\?/g; ##Convert . back to ? 431 $line =~ s/([^\\])\.$/$1\?/g; ##Convert . back to ?
432 $line =~ s/\\\./\./g; ##Convert \. to . 432 $line =~ s/\\\./\./g; ##Convert \. to .
433 $line =~ s/\.\*/\*/g; ##Convert .* to * 433 $line =~ s/\.\*/\*/g; ##Convert .* to *
434 }
435 $line =~ s/^([A-Z]):/$1:\t/g;
436 print("$line\n");
437 } 434 }
438 print("\n"); 435 $line =~ s/^([A-Z]):/$1:\t/g;
436 print("$line\n");
439 } 437 }
438 print("\n");
439 }
440 } 440 }
441 441
442 if ($email && $email_git) { 442 if ($email && $email_git) {