mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f
The option -f of scripts/get_maintainers.pl will return the maintainers of a given file, *not* the list of maintainers if the file was a patch. The output expected of add_maintainers is the latter, so drop the option -f. Signed-off-by: Julien Grall <julien.grall@arm.com> Release-acked-by: Juergen Gross <jgross@suse.com> Reviewed-by: Lars Kurth <lars.kurth@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
11535cdbc0
commit
41339ecb5f
1 file changed
+1
-1
@@ -420,7 +420,7 @@ sub ismailinglist ($) {
|
|||||||
sub getmaintainers ($$$) {
|
sub getmaintainers ($$$) {
|
||||||
my ($file, $rto, $rcc) = @_;
|
my ($file, $rto, $rcc) = @_;
|
||||||
my $fh;
|
my $fh;
|
||||||
open($fh, "-|", $get_maintainer, @get_maintainer_args, '-f', $file)
|
open($fh, "-|", $get_maintainer, @get_maintainer_args, $file)
|
||||||
or die "Failed to open '$get_maintainer'\n";
|
or die "Failed to open '$get_maintainer'\n";
|
||||||
while(my $line = <$fh>) {
|
while(my $line = <$fh>) {
|
||||||
chomp $line;
|
chomp $line;
|
||||||
|
|||||||