diff --git a/bin/regen-protos.sh b/bin/regen-protos.sh index abfe7a141..bba445b5a 100755 --- a/bin/regen-protos.sh +++ b/bin/regen-protos.sh @@ -11,9 +11,9 @@ cd protobufs ../nanopb-0.4.7/generator-bin/protoc --nanopb_out=-v:../src/mesh/generated/ -I=../protobufs meshtastic/*.proto cd ../src/mesh/generated/meshtastic -sed -i 's/#include "meshtastic/#include "./g' * +sed -i 's/#include "meshtastic/#include "./g' -- * -sed -i 's/meshtastic_//g' * +sed -i 's/meshtastic_//g' -- * #echo "Regenerating protobuf documentation - if you see an error message" #echo "you can ignore it unless doing a new protobuf release to github."