Skip to content

Commit

Permalink
Merge pull request #753 from Neilpang/dev
Browse files Browse the repository at this point in the history
fix #751
  • Loading branch information
neil committed Mar 29, 2017
2 parents 5f2e566 + 6cf7be4 commit 7ecabea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ _hasfield() {
_sep=","
fi

for f in $(echo "$_str" | tr ',' ' '); do
for f in $(echo "$_str" | tr "$_sep" ' '); do
if [ "$f" = "$_field" ]; then
_debug2 "'$_str' contains '$_field'"
return 0 #contains ok
Expand Down

0 comments on commit 7ecabea

Please sign in to comment.