X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/de65ad1e2991ea87a878483a010cfaf3d4600702..f1ab8bcb3d0102fe44d2baad1de229f3edce4048:/.mutt/bgrun?ds=inline diff --git a/.mutt/bgrun b/.mutt/bgrun index c19920f..ad432df 100755 --- a/.mutt/bgrun +++ b/.mutt/bgrun @@ -83,7 +83,7 @@ guess_extension() { get_file() { local t if [ -z "$1" ]; then - t=$(TMPDIR="$PWD" tempfile -s $(guess_extension "$MIMETYPE")) + t=$(mktemp -p "$PWD" tmp.XXXXXXXXXX.$(guess_extension "$MIMETYPE")) cat > "$t" echo "$t" else