From: Johannes Weißl Date: Wed, 10 Nov 2010 12:24:51 +0000 (+0100) Subject: use configurable program paths (formail & reformail) X-Git-Url: https://projects.mako.cc/source/muttjump/commitdiff_plain/e7630d8b06c9e3e1119f65e9c2e12f0f60458517?hp=5a1903d94c625beed84792f64db7aeaf8ea0e5a7 use configurable program paths (formail & reformail) --- diff --git a/muttjump b/muttjump index fb01b40..3cba9b7 100755 --- a/muttjump +++ b/muttjump @@ -73,9 +73,9 @@ fi # search for Message-ID in STDIN if type -p $FORMAIL >/dev/null ; then - msgid=$(formail -c -z -x Message-ID | head -n1) + msgid=$($FORMAIL -c -z -x Message-ID | head -n1) elif type -p $REFORMAIL >/dev/null ; then - msgid=$(reformail -c -x Message-ID: | head -n1) + msgid=$($REFORMAIL -c -x Message-ID: | head -n1) else msgid=$(sed -n 's/^Message-ID: \(.*\)/\1/Ip' | head -n1) fi