X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/06259405cd587d29eec78914f8df2dc88f8a9b33..8f802697c8d9c4fc52e4d0ce4facf643358aac1a:/docs/contrib/localpostproc 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"