fix issue for openBSD

pull/170/head
neil 9 years ago
parent e4739512e6
commit 230234e701

@ -1188,7 +1188,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…
Cancel
Save