From 1af7e48136689115b82259e24797d9cb4d6a8196 Mon Sep 17 00:00:00 2001 From: Dan Fay <33201069+faydr@users.noreply.github.com> Date: Mon, 27 Mar 2023 05:52:48 -0600 Subject: [PATCH] Fixed the semi-silent failure to regenerate protobufs on Linux (#2383) Co-authored-by: Ben Meadors --- bin/regen-protos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/regen-protos.sh b/bin/regen-protos.sh index 5fa3ab049..ad771ab45 100755 --- a/bin/regen-protos.sh +++ b/bin/regen-protos.sh @@ -8,7 +8,7 @@ echo "prebuilt binaries for your computer into nanopb-0.4.7" # the nanopb tool seems to require that the .options file be in the current directory! cd protobufs -../nanopb-0.4.7/generator-bin/protoc --nanopb_out=-v:../src/mesh/generated/ -I=../protobufs meshtastic/*.proto +../nanopb-0.4.7/generator-bin/protoc --nanopb_out=-v:../src/mesh/generated/ -I=../protobufs meshtastic/*.proto --experimental_allow_proto3_optional # cd ../src/mesh/generated/meshtastic # sed -i 's/#include "meshtastic/#include "./g' -- *