summaryrefslogtreecommitdiff
path: root/rotate-keys.in
diff options
context:
space:
mode:
Diffstat (limited to 'rotate-keys.in')
-rw-r--r--rotate-keys.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotate-keys.in b/rotate-keys.in
index f965928..0ba3480 100644
--- a/rotate-keys.in
+++ b/rotate-keys.in
@@ -72,7 +72,7 @@ if [ -n "$(trap)" ]; then
exit 1
fi
-tmp_dir=$(mktemp -d '/srv/http/httpdocs/.csr/tmp.XXXXXXXXXX')
+tmp_dir=$(mktemp -d "${webserver_dir}"'/tmp.XXXXXXXXXX')
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
printf '%s\n' "${hosts}" \