]> git.ozlabs.org Git - next-scripts/commitdiff
Merge commit '6fcb1ac2ddc2'
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 20 Jun 2015 02:07:14 +0000 (12:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 20 Jun 2015 02:10:28 +0000 (12:10 +1000)
Use .../mails/ as dir for sent emails

1  2 
send_email

diff --cc send_email
index 470858af53044b5aace67cd8b6ca9291b469a04c,a8e60a2492d858c09f40cb1fa2d5503190bed146..37e5c349d39eb475f24f84be031ad46f5e3584fa
@@@ -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"