From: martin f. krafft Date: Fri, 11 Apr 2025 06:41:44 +0000 (+0200) Subject: Relative path to ack-recipients X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/c7616d59d6aacc018b0a6f67bc97933bab1b278d Relative path to ack-recipients --- diff --git a/.config/mutt/sendmail-checks.d/ack-recipients b/.config/mutt/sendmail-checks.d/ack-recipients index 350ec44..30f0fe2 100755 --- a/.config/mutt/sendmail-checks.d/ack-recipients +++ b/.config/mutt/sendmail-checks.d/ack-recipients @@ -22,7 +22,7 @@ # set -eu -CHECKLIST="$HOME/.config/mutt/ack-recipients" +CHECKLIST="${0%/*}/../ack-recipients" HEADER=X-Acked ACKED_RCPTS=$(formail -czx ${HEADER}: < $1 | sed -re 's/,\s*/ /g' | tr '[[:upper:]]' '[[:lower:]]') MAILFILE="$1"; shift