X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhbuild.c;h=734d8ab206205a8c0850157b3a5d5a1b5607334a;hb=0e82199cf3c991a173e0ac8aa776efdb3ded61e6;hp=735a77e1b59d3a09623cb7aa7fd48345b27a7d55;hpb=240013872c392fe644bd4f79382d9f5314b4ea60;p=mmh diff --git a/uip/mhbuild.c b/uip/mhbuild.c index 735a77e..734d8ab 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -252,7 +252,7 @@ main(int argc, char **argv) set_endian(); - if ((cp = getenv("MM_NOASK")) && !strcmp(cp, "1")) + if ((cp = getenv("MM_NOASK")) && strcmp(cp, "1")==0) listsw = 0; /* @@ -283,7 +283,7 @@ main(int argc, char **argv) /* Check for private cache location */ if (!(cache_private = context_find(nmhprivcache))) cache_private = ".cache"; - cache_private = getcpy(m_maildir(cache_private)); + cache_private = getcpy(toabsdir(cache_private)); /* ** Check for storage directory. If defined, we @@ -293,10 +293,7 @@ main(int argc, char **argv) if ((cp = context_find(nmhstorage)) && *cp) tmp = concat(cp, "/", invo_name, NULL); else - tmp = add(m_maildir(invo_name), NULL); - - if (!context_find("path")) - free(path("./", TFOLDER)); + tmp = getcpy(toabsdir(invo_name)); /* Check if we have a file to process */ if (!compfile)