From: martin f. krafft Date: Tue, 14 Dec 2021 01:15:28 +0000 (+1300) Subject: guess_extension includes dot X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/afddd41558a84ed3b402e38ec7b62bba38e71827?ds=sidebyside guess_extension includes dot --- diff --git a/.config/mutt/bgrun b/.config/mutt/bgrun index ad432df..100fe6c 100755 --- a/.config/mutt/bgrun +++ b/.config/mutt/bgrun @@ -83,7 +83,7 @@ guess_extension() { get_file() { local t if [ -z "$1" ]; then - t=$(mktemp -p "$PWD" tmp.XXXXXXXXXX.$(guess_extension "$MIMETYPE")) + t=$(mktemp -p "$PWD" tmp.XXXXXXXXXX$(guess_extension "$MIMETYPE")) cat > "$t" echo "$t" else