Commit 348cddd7 authored by neil's avatar neil
Browse files

fix compatible to alpine linux

parent 35d55e3a
......@@ -696,7 +696,7 @@ issue() {
return 1
fi
entry="$(printf $response | egrep -o '{[^{]*"type":"'$vtype'"[^}]*')"
entry="$(printf $response | egrep -o '\{[^{]*"type":"'$vtype'"[^}]*')"
_debug entry "$entry"
token="$(printf "$entry" | egrep -o '"token":"[^"]*' | cut -d : -f 2 | tr -d '"')"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment