]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
scripts/mbox2send: fix up X- headers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Aug 2023 07:14:09 +0000 (09:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Aug 2023 07:14:09 +0000 (09:14 +0200)
git changed it's output so the X- headers were not properly getting
added to the individual patches.  Fix that up.

scripts/mbox2send

index 7cc902ed77ab075b0fb52b3a9c9f5020561484d1..35f5e36b8536f897a326e63bdf8c3bcb99becf1a 100755 (executable)
@@ -93,8 +93,8 @@ while ($line = <MBOX>) {
                        # eat the line
                        $eat = "true";
                }
-               # strip out the Content-Disposition line
-               if ($line =~ m/Content-Disposition:/) {
+               # strip out the Content-Type line
+               if ($line =~ m/Content-Type:/) {
                        # eat the line
                        $eat = "true";