Page MenuHomePhabricator

D4721.id15229.diff
No OneTemporary

D4721.id15229.diff

diff --git a/services/lib/docker/proto_codegen.sh b/services/lib/docker/proto_codegen.sh
--- a/services/lib/docker/proto_codegen.sh
+++ b/services/lib/docker/proto_codegen.sh
@@ -4,8 +4,8 @@
echo "generating files from protos..."
-for PROTO_FILE in $(ls ./protos); do
- protoc -I=./protos --cpp_out=_generated --grpc_out=_generated --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` ./protos/$PROTO_FILE
+for PROTO_FILE in ./protos/*; do
+ protoc -I=./protos --cpp_out=_generated --grpc_out=_generated --plugin=protoc-gen-grpc="$(which grpc_cpp_plugin)" ./protos/"$PROTO_FILE"
done
echo "success - code generated from protos"

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 5, 4:56 AM (14 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2616036
Default Alt Text
D4721.id15229.diff (636 B)

Event Timeline