X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/616f061f77605ce342e3068e5aacda3dffa24710..a83d50d5a64488deb3796bbd0ca0a03b0516cc77:/.mutt/filter-proxy diff --git a/.mutt/filter-proxy b/.mutt/filter-proxy index bd54b44..e0b1ad2 100755 --- a/.mutt/filter-proxy +++ b/.mutt/filter-proxy @@ -5,7 +5,7 @@ # Copyright © 2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -set -euvx +set -eu cmd= file= @@ -21,7 +21,7 @@ while [ -n "${1:-}" ]; do shift done -TMPFILE="$(tempfile -p proxy)" +TMPFILE="$(mktemp --tmpdir proxy.XXXXXXXXXX)" trap "rm -f $TMPFILE" 0 1 2 3 4 5 6 7 8 10 11 12 13 14 15 eval $cmd <"$file" >$TMPFILE