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
933c169d
Commit
933c169d
authored
Aug 17, 2016
by
neil
Browse files
minor
parent
a8df88ab
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
933c169d
...
...
@@ -1200,7 +1200,9 @@ _initpath() {
USER_AGENT="$DEFAULT_USER_AGENT"
fi
if [ -z "$HTTP_HEADER" ] ; then
HTTP_HEADER="$LE_WORKING_DIR/http.header"
fi
_DEFAULT_ACCOUNT_KEY_PATH="$LE_WORKING_DIR/account.key"
if [ -z "$ACCOUNT_KEY_PATH" ] ; then
...
...
@@ -1236,6 +1238,13 @@ _initpath() {
_debug DOMAIN_PATH "$DOMAIN_PATH"
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
DOMAIN_CONF="$DOMAIN_PATH/$domain.conf"
fi
...
...
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