X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/aaf014c77a4fb19bdc33370f5b6af5b8497decf8..f7a2498729e0c642c7c7fb573deee3a35176de44:/docs/contrib/localpostproc?ds=sidebyside diff --git a/docs/contrib/localpostproc b/docs/contrib/localpostproc index c8f71702..dcd99855 100755 --- a/docs/contrib/localpostproc +++ b/docs/contrib/localpostproc @@ -10,7 +10,8 @@ # # -# Find out which message is the draft message; yes, this sucks. +# Find the draft message, always the last argument, and whether we've +# been called with -whom; the latter sucks. # # The case statement has to know about switches that take arguments; # add to this list as necessary. @@ -42,7 +43,7 @@ find_draftmessage() { exit 1 } -realpost="$(mhparam libdir)/post" +realpost="$(mhparam libexecdir)/post" if [ $# -eq 0 ]; then echo "Usage: [post switches] filename"