From: Michael Ellerman Date: Thu, 11 Jun 2015 22:22:58 +0000 (+1000) Subject: send_email: Write to a file etc. X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=862d80c0d3966a09f98a9ba0e7be3870dc4b4722;p=next-scripts send_email: Write to a file etc. --- diff --git a/send_email b/send_email index de41873..470858a 100755 --- a/send_email +++ b/send_email @@ -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