fix compatible to alpine linux

This commit is contained in:
neil committed 2016-03-10 23:43:03 +08:00
1 parent 35d55e3abd
commit 348cddd762
1 file changed
+1 -1
+1 -1
View File
@@ -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 '"')"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.