Page MenuHomePhabricator

D4721.diff
No OneTemporary

D4721.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)" ./"$PROTO_FILE"
done
echo "success - code generated from protos"

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 4, 4:32 PM (11 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2614512
Default Alt Text
D4721.diff (629 B)

Event Timeline