commit d7ecb0f992d51cd2651bf9c620f6090afcfe0c7e
parent f0e1e8235df1cac298dd3ce076b9f9b9fc48e8e5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 18 Jun 2020 14:21:52 +0200
Fix outfile destination
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.config/mutt/muttprint-groff.sh b/.config/mutt/muttprint-groff.sh
@@ -9,6 +9,7 @@ infile="$(mktemp "$PDIR"/mutt_XXXXXX)"
tmpfile="$(mktemp "$PDIR"/mutt_XXXXXX)"
outfile="$(mktemp "$PDIR"/mutt_XXXXXX)"
mv "$outfile" "${outfile}.pdf"
+outfile="${outfile}.pdf"
printf 'infile = %s\n' "$infile"
printf 'tmpfile = %s\n' "$tmpfile"