#!/bin/bash set -e cd "$(dirname "$(readlink -f "$0")")" rm -rf ../src/capport/comm/protobuf/message_pb2.py mkdir -p ../src/capport/comm/protobuf protoc --python_out=../src/capport/comm/protobuf message.proto