Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b43416af
Commit
b43416af
authored
Dec 02, 2016
by
neilpang
Browse files
do not use script home
parent
569d6c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
b43416af
...
...
@@ -1612,14 +1612,14 @@ __initHome() {
fi
fi
if [ -z "$LE_WORKING_DIR" ]; then
if [ -f "$DEFAULT_INSTALL_HOME/account.conf" ]; then
_debug "It seems that $PROJECT_NAME is already installed in $DEFAULT_INSTALL_HOME"
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
else
LE_WORKING_DIR="$_SCRIPT_HOME"
fi
fi
#
if [ -z "$LE_WORKING_DIR" ]; then
#
if [ -f "$DEFAULT_INSTALL_HOME/account.conf" ]; then
#
_debug "It seems that $PROJECT_NAME is already installed in $DEFAULT_INSTALL_HOME"
#
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
#
else
#
LE_WORKING_DIR="$_SCRIPT_HOME"
#
fi
#
fi
if [ -z "$LE_WORKING_DIR" ]; then
_debug "Using default home:$DEFAULT_INSTALL_HOME"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment