From: Julien Grall Date: Tue, 5 Jun 2018 16:39:38 +0000 (+0100) Subject: scripts/add_maintainers.pl: Don't call get_maintainers.pl with -f X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~65 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=41339ecb5f18ca7ec7b0c914c952a0e1715ae511;p=xen.git 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 Release-acked-by: Juergen Gross Reviewed-by: Lars Kurth Acked-by: Ian Jackson --- diff --git a/scripts/add_maintainers.pl b/scripts/add_maintainers.pl index 99e4724112..09e9f6609f 100755 --- a/scripts/add_maintainers.pl +++ b/scripts/add_maintainers.pl @@ -420,7 +420,7 @@ sub ismailinglist ($) { sub getmaintainers ($$$) { my ($file, $rto, $rcc) = @_; 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"; while(my $line = <$fh>) { chomp $line;