Skip to content

Commit f257264

Browse files
committed
chore: sed compatibility between Linux and Mac
Signed-off-by: Takashi Menjo <takashi.menjo+github@gmail.com>
1 parent 343c4ef commit f257264

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ proto:
3434
poetry run python3 -m grpc_tools.protoc --pyi_out=pynumaflow/proto/sourcer -I=pynumaflow/proto/sourcer --python_out=pynumaflow/proto/sourcer --grpc_python_out=pynumaflow/proto/sourcer pynumaflow/proto/sourcer/*.proto
3535

3636

37-
sed -i -e 's/^\(import.*_pb2\)/from . \1/' pynumaflow/proto/*/*.py
37+
sed -i.bak -e 's/^\(import.*_pb2\)/from . \1/' pynumaflow/proto/*/*.py
38+
rm pynumaflow/proto/*/*.py.bak

0 commit comments

Comments
 (0)