~mdw
/
distorted-letsencrypt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/: Fix preamble to handle invocation through a symlink.
[distorted-letsencrypt]
/
bin
/
make-cert
diff --git
a/bin/make-cert
b/bin/make-cert
index
b6a86df
..
19808c6
100755
(executable)
--- 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 "$@"