From ca8cef1660ad89ab488a22dc50eeb7cd77222c6e Mon Sep 17 00:00:00 2001 From: Ivy Foster Date: Thu, 1 Sep 2016 18:50:20 -0500 Subject: Add $MBLAZE environment variable to set profile location As a side benefit, all callers of blaze822_home_file need only pass the filename, so the base directory is set in only one place. --- mshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mshow.c') diff --git a/mshow.c b/mshow.c index 2111512..4342ed2 100644 --- a/mshow.c +++ b/mshow.c @@ -728,7 +728,7 @@ main(int argc, char *argv[]) if (!(qflag || rflag)) { char *f = getenv("MAILFILTER"); if (!f) - f = blaze822_home_file(".mblaze/filter"); + f = blaze822_home_file("filter"); if (f) filters = blaze822(f); } -- cgit 1.4.1