Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
letsencrypt.sh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
letsencrypt.sh
Commits
e2d8bfa4
Commit
e2d8bfa4
authored
Feb 21, 2016
by
Benjamin Albrecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow spaces in path to additional configuration file
parent
2099c77f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
letsencrypt.sh
letsencrypt.sh
+2
-2
No files found.
letsencrypt.sh
View file @
e2d8bfa4
...
...
@@ -89,13 +89,13 @@ load_config() {
_exiterr
"The path
${
CONFIG_D
}
specified for CONFIG_D does not point to a directory."
>
&2
fi
for
check_config_d
in
${
CONFIG_D
}
/
*
.sh
;
do
for
check_config_d
in
"
${
CONFIG_D
}
"
/
*
.sh
;
do
if
[[
!
-e
"
${
check_config_d
}
"
]]
;
then
echo
"# !! WARNING !! Extra configuration directory
${
CONFIG_D
}
exists, but no configuration found in it."
>
&2
break
elif
[[
-f
"
${
check_config_d
}
"
]]
&&
[[
-r
"
${
check_config_d
}
"
]]
;
then
echo
"# INFO: Using additional config file
${
check_config_d
}
"
.
${
check_config_d
}
.
"
${
check_config_d
}
"
else
_exiterr
"Specified additional config
${
check_config_d
}
is not readable or not a file at all."
>
&2
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