From: Stephen Rothwell Date: Sat, 20 Jun 2015 02:07:14 +0000 (+1000) Subject: Merge commit '6fcb1ac2ddc2' X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=3b12961b47780d32c77479e662fd342eff8f750a;p=next-scripts Merge commit '6fcb1ac2ddc2' Use .../mails/ as dir for sent emails --- 3b12961b47780d32c77479e662fd342eff8f750a diff --cc send_email index 470858a,a8e60a2..37e5c34 --- a/send_email +++ b/send_email @@@ -1,6 -1,6 +1,6 @@@ #!/bin/bash - TARGET=$HOME/linux-next-$$.email -TARGET=$HOME/work/topics/linux-next/mails/$(date +"%Y-%m-%d+%s").email ++TARGET="$(dirname $0)/../mails"/$(date +"%Y-%m-%d+%s").email to="$1" cc="$2"