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. --- contrib/mpeek | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/mpeek') diff --git a/contrib/mpeek b/contrib/mpeek index bf568dc..529b31f 100755 --- a/contrib/mpeek +++ b/contrib/mpeek @@ -1,7 +1,7 @@ #!/bin/sh # mpeek - wrapper around mscan with a different seq -export MAILSEQ=$HOME/.mblaze/peek.seq +export MAILSEQ=${MBLAZE:-$HOME/.mblaze}/peek.seq if [ -t 0 ]; then mseq "$@" -- cgit 1.4.1