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
7ecabeac
Commit
7ecabeac
authored
Mar 29, 2017
by
neil
Committed by
GitHub
Mar 29, 2017
Browse files
Merge pull request #753 from Neilpang/dev
fix
https://github.com/Neilpang/acme.sh/issues/751
parents
5f2e5667
6cf7be4b
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
7ecabeac
...
@@ -340,7 +340,7 @@ _hasfield() {
...
@@ -340,7 +340,7 @@ _hasfield() {
_sep
=
","
_sep
=
","
fi
fi
for
f
in
$(
echo
"
$_str
"
|
tr
','
' '
)
;
do
for
f
in
$(
echo
"
$_str
"
|
tr
"
$_sep
"
' '
)
;
do
if
[
"
$f
"
=
"
$_field
"
]
;
then
if
[
"
$f
"
=
"
$_field
"
]
;
then
_debug2
"'
$_str
' contains '
$_field
'"
_debug2
"'
$_str
' contains '
$_field
'"
return
0
#contains ok
return
0
#contains ok
...
...
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