mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-13 01:41:47 +00:00
minor
This commit is contained in:
parent
a8df88ab91
commit
933c169da5
11
acme.sh
11
acme.sh
@ -1200,7 +1200,9 @@ _initpath() {
|
|||||||
USER_AGENT="$DEFAULT_USER_AGENT"
|
USER_AGENT="$DEFAULT_USER_AGENT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HTTP_HEADER="$LE_WORKING_DIR/http.header"
|
if [ -z "$HTTP_HEADER" ] ; then
|
||||||
|
HTTP_HEADER="$LE_WORKING_DIR/http.header"
|
||||||
|
fi
|
||||||
|
|
||||||
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
|
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
|
||||||
if [ -z "$ACCOUNT_KEY_PATH" ] ; then
|
if [ -z "$ACCOUNT_KEY_PATH" ] ; then
|
||||||
@ -1236,6 +1238,13 @@ _initpath() {
|
|||||||
_debug DOMAIN_PATH "$DOMAIN_PATH"
|
_debug DOMAIN_PATH "$DOMAIN_PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "$DOMAIN_PATH" ] ; then
|
||||||
|
if ! mkdir -p "$DOMAIN_PATH" ; then
|
||||||
|
_err "Can not create domain path: $DOMAIN_PATH"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$DOMAIN_CONF" ] ; then
|
if [ -z "$DOMAIN_CONF" ] ; then
|
||||||
DOMAIN_CONF="$DOMAIN_PATH/$domain.conf"
|
DOMAIN_CONF="$DOMAIN_PATH/$domain.conf"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user