|
@ -762,17 +762,17 @@ _initpath() { |
|
|
ACCOUNT_KEY_PATH="$_DEFAULT_ACCOUNT_KEY_PATH" |
|
|
ACCOUNT_KEY_PATH="$_DEFAULT_ACCOUNT_KEY_PATH" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
_DEFAULT_CERT_HOME="$LE_WORKING_DIR" |
|
|
|
|
|
if [ -z "$CERT_HOME" ] ; then |
|
|
|
|
|
CERT_HOME="$_DEFAULT_CERT_HOME" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
domain="$1" |
|
|
domain="$1" |
|
|
|
|
|
|
|
|
if [ -z "$domain" ] ; then |
|
|
if [ -z "$domain" ] ; then |
|
|
return 0 |
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
_DEFAULT_CERT_HOME="$LE_WORKING_DIR" |
|
|
|
|
|
if [ -z "$CERT_HOME" ] ; then |
|
|
|
|
|
CERT_HOME="$_DEFAULT_CERT_HOME" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
domainhome="$CERT_HOME/$domain" |
|
|
domainhome="$CERT_HOME/$domain" |
|
|
mkdir -p "$domainhome" |
|
|
mkdir -p "$domainhome" |
|
|
|
|
|
|
|
|