update mail service (experiment) - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 01859930de6ceb6498b7ca2d0104e3d588ba971e
 (DIR) parent 2f5cce672c8db6fd93a458fb93a3de19b6e74b68
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Wed, 25 Oct 2023 11:59:36 +0200
       
       update mail service (experiment)
       
       Diffstat:
         M mail-alias-paste-service            |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/mail-alias-paste-service b/mail-alias-paste-service
       @@ -5,12 +5,12 @@
        # Dependencies:
        # mblaze
        
       -d="/home/www/gopher/mailpaste"
       +d="/home/www/domains/www.codemadness.org/htdocs/mailpaste"
        tmpfile=$(mktemp -p "$d" XXXXXXXXXXXX)
        tmpmail=$(mktemp)
        
       -# store mail temporarily
       -# TODO: trap on exit remove file.
       +# store mail temporarily, on exit remove temporary file.
       +trap "rm -f $tmpmail" EXIT
        cat > "$tmpmail"
        
        # don't store mail sequence.