X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/0b89da6915c4dd5d9ba246b3838e0721e9ef4703..a83d50d5a64488deb3796bbd0ca0a03b0516cc77:/.mutt/mkconf?ds=sidebyside 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")