fix genproto script
@@ -3,5 +3,5 @@ res=$(find . -not -path ./vendor/ -not -path ./.git/ -not -path ./.idea/ -type d
#echo $res
while read -r p; do
echo "Generating protobuf for $p"
- protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. *.proto
+ protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --go_out=plugins=grpc:. $p/*.proto
done <<< "$res"
