From 44782b95dbe424c019c99bedf5c477f9d31bfd43 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 9 Jul 2002 13:52:11 +0000 Subject: Add descriptive filename to pdf email. --- pdfdistiller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdfdistiller b/pdfdistiller index 698d1eb..3515117 100755 --- a/pdfdistiller +++ b/pdfdistiller @@ -74,7 +74,7 @@ fi chmod a+r $OUTPUTFILENAME if [ "$2" != "" ]; then if [ -x /usr/bin/mime-construct ]; then - /usr/bin/mime-construct --to "$2" --subject "PDF print" --type application/pdf --file $OUTPUTFILENAME \ + /usr/bin/mime-construct --to "$2" --subject "PDF print" --type application/pdf --attachment `basename $OUTPUTFILENAME` --file $OUTPUTFILENAME \ && rm $OUTPUTFILENAME elif [ -x /usr/bin/mimeit ]; then cat $OUTPUTFILENAME | /usr/bin/mimeit application/pdf $2 "PDF print" \ -- cgit v1.2.3