diff options
author | Joe Perches <joe@perches.com> | 2009-06-16 15:34:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 19:47:54 -0700 |
commit | 0a79c492bcb1022e9a2d0bcb5ed6c624ef6641a0 (patch) | |
tree | afa1b3b9f377efbb2dc44fe04308e06917941b88 | |
parent | 5f2441e97684cfc787873f884c715e109ffcfbcd (diff) | |
download | op-kernel-dev-0a79c492bcb1022e9a2d0bcb5ed6c624ef6641a0.zip op-kernel-dev-0a79c492bcb1022e9a2d0bcb5ed6c624ef6641a0.tar.gz |
scripts/get_maintainer.pl: don't print maintainers when not requested
Fixed bug introduced after using rfc822 address checking.
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>
-rwxr-xr-x | scripts/get_maintainer.pl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index a1a43cf..e57c3f6 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -436,10 +436,12 @@ sub push_email_address { $email_address = $2; } - if ($email_usename && $email_name) { - push(@email_to, format_email($email_name, $email_address)); - } else { - push(@email_to, $email_address); + if ($email_maintainer) { + if ($email_usename && $email_name) { + push(@email_to, format_email($email_name, $email_address)); + } else { + push(@email_to, $email_address); + } } } |