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
048e5210
Commit
048e5210
authored
Dec 02, 2016
by
neil
Committed by
GitHub
Dec 02, 2016
Browse files
do not use script home
* do not use script home * fix format
parent
6d84da58
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
048e5210
...
...
@@ -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