]> git.ozlabs.org Git - next-scripts/blobdiff - send_email
send_email: Write to a file etc.
[next-scripts] / send_email
index de418730b6a0776d2aaa5e6a49d60c9ca44b98ef..470858af53044b5aace67cd8b6ca9291b469a04c 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+TARGET=$HOME/linux-next-$$.email
+
 to="$1"
 cc="$2"
 subject="$3"
@@ -10,8 +12,15 @@ To: $to
 Cc: $cc
 Subject: $subject
 
+FIXME: Add owner of second tree to To:
+       Add author(s)/SOB of conflicting commits.
+
 EOF
        cat
-) | claws-mail --compose-from-file -
+) > $TARGET
+
+gvim $TARGET
+
+echo "When you're finished editing you need to send $TARGET"
 
 exit 0