X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/a5ab5741acbc36d8f5d8a527639edaad4143f2f8..df7778d191c99b4abf5eb6670d3686e1b7a5b1b8:/.mutt/mkconf diff --git a/.mutt/mkconf b/.mutt/mkconf index c16c254..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,9 +62,11 @@ 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") + +# vim:sw=12:noet:sts=12:ts=12:ft=muttrc _eof cleanup