X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/b2f281d78c0fa6ff0a92901a603098df6a5e57b2..f1ab8bcb3d0102fe44d2baad1de229f3edce4048:/.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