From: martin f. krafft Date: Thu, 23 May 2024 11:31:46 +0000 (+0200) Subject: relative reference to ack-recipients X-Git-Url: https://git.madduck.net/etc/neomutt.git/commitdiff_plain/196bfe3dcb9613d859690330868277a20472ba23?hp=1f6911d51868f7135c07a6c31f0bb8621365173c relative reference to ack-recipients --- diff --git a/.config/neomutt/sendmail-checks.d/ack-recipients b/.config/neomutt/sendmail-checks.d/ack-recipients index 350ec44..30f0fe2 100755 --- a/.config/neomutt/sendmail-checks.d/ack-recipients +++ b/.config/neomutt/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