summaryrefslogtreecommitdiff
path: root/pdfdistiller
diff options
context:
space:
mode:
Diffstat (limited to 'pdfdistiller')
-rwxr-xr-xpdfdistiller8
1 files changed, 4 insertions, 4 deletions
diff --git a/pdfdistiller b/pdfdistiller
index 355e90e..698d1eb 100755
--- a/pdfdistiller
+++ b/pdfdistiller
@@ -74,11 +74,11 @@ 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
- rm $OUTPUTFILENAME
+ /usr/bin/mime-construct --to "$2" --subject "PDF print" --type application/pdf --file $OUTPUTFILENAME \
+ && rm $OUTPUTFILENAME
elif [ -x /usr/bin/mimeit ]; then
- cat $OUTPUTFILENAME | /usr/bin/mimeit application/pdf $2 "PDF print"
- rm $OUTPUTFILENAME
+ cat $OUTPUTFILENAME | /usr/bin/mimeit application/pdf $2 "PDF print" \
+ && rm $OUTPUTFILENAME
else
chown $2 $OUTPUTFILENAME
fi