X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/0b89da6915c4dd5d9ba246b3838e0721e9ef4703..62090a10f51ee6ec80a6385dde9cb41c8f2b2089:/.mutt/mkconf diff --git a/.mutt/mkconf b/.mutt/mkconf index 212a115..e98a9e1 100755 --- a/.mutt/mkconf +++ b/.mutt/mkconf @@ -1,7 +1,7 @@ #!/bin/sh set -eu -FILE="${1:-}" +FILE="${1:-${0%/*}/confvars}" TARGET="${2:-}" if [ ! -f "$FILE" ]; then @@ -62,7 +62,7 @@ cat <<_eof > "$TARGET" # Auto-generated using mkconf from manual.txt # on $(date +'%Y-%m-%d %H:%M:%S') # -# Invoked as: $0 $@ +# Invoked as: $0${1:+ $@} # $(cat "$TMPFILE")