mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
fix compatible to alpine linux
This commit is contained in:
parent
35d55e3abd
commit
348cddd762
2
le.sh
2
le.sh
@ -696,7 +696,7 @@ issue() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
entry="$(printf $response | egrep -o '{[^{]*"type":"'$vtype'"[^}]*')"
|
entry="$(printf $response | egrep -o '\{[^{]*"type":"'$vtype'"[^}]*')"
|
||||||
_debug entry "$entry"
|
_debug entry "$entry"
|
||||||
|
|
||||||
token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
|
token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
|
||||||
|
Loading…
Reference in New Issue
Block a user