tweak sed, make compile_grpc.sh executable

This commit is contained in:
Alex Cheema
2024-12-06 13:23:06 +00:00
parent 881d60d91e
commit e8ece1158f

2
scripts/compile_grpc.sh Normal file → Executable file
View File

@@ -2,6 +2,6 @@
source ./install.sh
pushd exo/networking/grpc
python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
sed -i "s/import\ node_service_pb2/from . &/" node_service_pb2_grpc.py
sed -i '' "s/import\ node_service_pb2/from . &/" node_service_pb2_grpc.py
popd