X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8e0f9bd3daae9d05dec58026d5a5924367e4e874..96170cff6dc485c44c89a949cc9f407db7079451:/uip/mhparam.c?ds=sidebyside diff --git a/uip/mhparam.c b/uip/mhparam.c index f6daf9a5..3b259e7f 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -30,8 +30,9 @@ DEFINE_SWITCH_ARRAY(MHPARAM, switches); #undef X extern char *mhbindir; -extern char *mhetcdir; extern char *mhlibexecdir; +extern char *mhetcdir; +extern char *mhdocdir; static char *sbackup = BACKUP_PREFIX; @@ -113,9 +114,10 @@ static struct proc procs [] = { { "whatnowproc", &whatnowproc }, { "whomproc", &whomproc }, { "bindir", &mhbindir }, - { "etcdir", &mhetcdir }, - { "libdir", &mhlibexecdir }, { "libexecdir", &mhlibexecdir }, + { "libdir", &mhlibexecdir }, + { "etcdir", &mhetcdir }, + { "docdir", &mhdocdir }, { "localmbox", &localmbox }, { "sbackup", &sbackup }, { "datalocking", &datalocking }, @@ -212,7 +214,7 @@ main(int argc, char **argv) if ((cp = context_find("datalocking"))) { datalocking = cp; } /* In case spoollocking was set in mts.conf. */ - mts_init(invo_name); + mts_init(); /* Also set localmbox here */ if (! localmbox_primed) { @@ -237,7 +239,7 @@ main(int argc, char **argv) if (! strcmp ("spoollocking", comps[i])) { /* In case spoollocking was set in mts.conf. */ - mts_init(invo_name); + mts_init(); } value = context_find (comps[i]);