From: martin f. krafft Date: Thu, 17 Jul 2008 11:11:16 +0000 (+0200) Subject: fix template/mailfile detection while argument parsing X-Git-Tag: mailplate-0.2~1 X-Git-Url: https://git.madduck.net/code/mailplate.git/commitdiff_plain/b6287ce4bbb2c7ca8d1056469fccf5eeb21e484c?hp=b6287ce4bbb2c7ca8d1056469fccf5eeb21e484c fix template/mailfile detection while argument parsing If template 'foo' is being used in a directory where ./foo exists, the argument parsing decides that ./foo must be the message to rewrite and clobbers it. Now there are more sanity checks in place, and I first try to determine the template, then the file. ---