From: Greg Kroah-Hartman Date: Mon, 4 Feb 2019 09:06:39 +0000 (+0100) Subject: script/c2p: allow multiple kernel versions on the command line X-Git-Tag: v4.20.7~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a02dd1f0eff0d6902123dfce1a0388c7e5cc0ba2;p=thirdparty%2Fkernel%2Fstable-queue.git script/c2p: allow multiple kernel versions on the command line Signed-off-by: Greg Kroah-Hartman --- diff --git a/scripts/c2p b/scripts/c2p index 9575cfb8881..9cb65a67e2a 100755 --- a/scripts/c2p +++ b/scripts/c2p @@ -15,7 +15,7 @@ my $signed_off_by_seen = "false"; my $signed_off_by_complete = "false"; my $eat_subject_trailer = "false"; my $tmpfile; -my $kernel_version; +#my $kernel_version; $SIG{__DIE__} = sub @@ -40,10 +40,10 @@ if ($base_id eq "") { exit; } -$kernel_version = shift; -if (!defined($kernel_version)) { - $kernel_version = ""; -} +#$kernel_version = shift; +#if (!defined($kernel_version)) { +# $kernel_version = ""; +#} #print "handing commit id $base_id\n"; @@ -119,7 +119,8 @@ chomp($new_file); system "mv $new_file ~/linux/stable/"; #print "moved $new_file to ~/linux/stable/\n"; -system "cd ~/linux/stable && ./apply_it $new_file $kernel_version"; +print "cd ~/linux/stable && ./apply_it $new_file @ARGV\n"; +system "cd ~/linux/stable && ./apply_it $new_file @ARGV"; #system "cp ~/linux/stable/$new_file ~/linux/longterm"; #system "cd ~/linux/longterm && ./apply_it $new_file";