X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/2acef100d7ed86fb12abf80908376b08d64df4ff..a83d50d5a64488deb3796bbd0ca0a03b0516cc77:/.mutt/reuse-message diff --git a/.mutt/reuse-message b/.mutt/reuse-message index 0bdb3f8..0d8ed23 100755 --- a/.mutt/reuse-message +++ b/.mutt/reuse-message @@ -11,7 +11,7 @@ for i in "$@"; do esac done -tmpfile=$(tempfile -p reuse) +tmpfile=$(mktemp --tmpdir reuse.XXXXXXXXXX) cleanup() { rm -f "$tmpfile"; trap - 1 2 3 4 5 6 7 8 10 11 12 13 14 15; } trap cleanup 1 2 3 4 5 6 7 8 10 11 12 13 14 15