X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-letsencrypt/blobdiff_plain/4611ce5407d0882e15d2e15856d6b2184261feca..c67523fe0e164edd35d2678295e21395af79d5ac:/bin/make-cert diff --git a/bin/make-cert b/bin/make-cert index b6a86df..19808c6 100755 --- a/bin/make-cert +++ b/bin/make-cert @@ -1,7 +1,8 @@ #! /bin/sh set -e usage=" TAG" -. "${0%/*}/../config.sh" +prog=$(readlink -e "$0") +. "${prog%/*}/../config.sh" . "$home/lib/lib.sh" run_as_user "$@"