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