From: martin f. krafft Date: Fri, 14 Mar 2008 08:48:39 +0000 (+0100) Subject: fix resubmit script argument processing X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/f1e2a8d4676f834f1eb06cc9ca66a8998e03aabf fix resubmit script argument processing --- diff --git a/bin/resubmit b/bin/resubmit index 6bf8819..c51244b 100755 --- a/bin/resubmit +++ b/bin/resubmit @@ -49,7 +49,7 @@ PROCMAIL=$HOME/.etc/mailfilter/procmail/procmailrc # execute the date -R only during the eval, not immediately FILTER='/usr/bin/formail -I"X-Resubmitted: $(date -R)"' -if [ -z "${1:-}" ] && [ $list -eq 0 ]; then +if [ -z "${files:-}" ] && [ $list -eq 0 ]; then eval $FILTER | exec $PROCMAIL else for f in $files; do