From 050f0d0802b728d488979ad4d739774be2d789a1 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sun, 12 Jun 2022 09:55:00 +0200 Subject: [PATCH] Update script to generate grpc service files --- generate-grpc-service-files.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/generate-grpc-service-files.sh b/generate-grpc-service-files.sh index 787ffa2..541da94 100755 --- a/generate-grpc-service-files.sh +++ b/generate-grpc-service-files.sh @@ -18,9 +18,8 @@ for file in $PROTOS; do echo "Generating protos from ${file}, into ${LNRPC_TARGET_DIR}/${DIRECTORY}" # writes all ruby files in the ruby directory - grpc_tools_ruby_protoc -I/usr/local/include \ - -I. \ - -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ + grpc_tools_ruby_protoc -I. \ + -I$GOPATH/src/github.com/googleapis/googleapis \ -I$GOPATH/src/github.com/lightningnetwork/lnd/lnrpc \ --ruby_out=plugins=grpc,paths=source_relative:${LNRPC_TARGET_DIR} \ --grpc_out=${LNRPC_TARGET_DIR} "${file}"