]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
add message id support to makemail script
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Dec 2007 04:56:06 +0000 (20:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Dec 2007 04:56:06 +0000 (20:56 -0800)
scripts/makemail

index a64c75676e4b4eff208d54b59f2be558ddb18954..2dddb36a56af530e01ee4fe6e3ab2d46ec775c45 100755 (executable)
@@ -24,7 +24,8 @@ GetOptions(\%options,
            "cc=s",
            "subject=s",
            "date=s",
-          "reply_to=s"
+          "reply_to=s",
+          "message_id=s"
            );
 
 if (defined($options{"subject"})) {
@@ -45,6 +46,9 @@ if (defined($options{"date"})) {
 if (defined($options{"reply_to"})) {
    print("In-Reply-To: <" . $options{"reply_to"} . ">\n");
 }
+if (defined($options{"message_id"})) {
+   print("Message-ID: <" . $options{"message_id"} . ">\n");
+}
 
 print("\n");