do not use script home

This commit is contained in:
neilpang 2016-12-02 20:24:12 +08:00
parent 569d6c557c
commit b43416af97

16
acme.sh
View File

@ -1612,14 +1612,14 @@ __initHome() {
fi fi
fi fi
if [ -z "$LE_WORKING_DIR" ]; then # if [ -z "$LE_WORKING_DIR" ]; then
if [ -f "$DEFAULT_INSTALL_HOME/account.conf" ]; then # if [ -f "$DEFAULT_INSTALL_HOME/account.conf" ]; then
_debug "It seems that $PROJECT_NAME is already installed in $DEFAULT_INSTALL_HOME" # _debug "It seems that $PROJECT_NAME is already installed in $DEFAULT_INSTALL_HOME"
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME" # LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
else # else
LE_WORKING_DIR="$_SCRIPT_HOME" # LE_WORKING_DIR="$_SCRIPT_HOME"
fi # fi
fi # fi
if [ -z "$LE_WORKING_DIR" ]; then if [ -z "$LE_WORKING_DIR" ]; then
_debug "Using default home:$DEFAULT_INSTALL_HOME" _debug "Using default home:$DEFAULT_INSTALL_HOME"