mirror of
https://github.com/exo-explore/exo.git
synced 2025-10-23 02:57:14 +03:00
tweak sed, make compile_grpc.sh executable
This commit is contained in:
2
scripts/compile_grpc.sh
Normal file → Executable file
2
scripts/compile_grpc.sh
Normal file → Executable file
@@ -2,6 +2,6 @@
|
|||||||
source ./install.sh
|
source ./install.sh
|
||||||
pushd exo/networking/grpc
|
pushd exo/networking/grpc
|
||||||
python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
|
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
|
popd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user