From 39eb3b06800a9be2b95bee20d4558ccbb90efddb Mon Sep 17 00:00:00 2001 From: William Banfield Date: Thu, 3 Mar 2022 12:52:59 -0500 Subject: [PATCH] script fixes --- scripts/abci-gen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/abci-gen.sh b/scripts/abci-gen.sh index 8f31f429e..55ec7b958 100755 --- a/scripts/abci-gen.sh +++ b/scripts/abci-gen.sh @@ -5,7 +5,7 @@ cp ./proto/tendermint/abci/types.proto.intermediate ./proto/tendermint/abci/type cp ./proto/tendermint/types/types.proto.intermediate ./proto/tendermint/types/types.proto MODNAME="$(go list -m)" -find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" -not -path "./proto/intermediate" \ +find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" \ -exec sh ./scripts/protopackage.sh {} "$MODNAME" ';' sh ./scripts/protopackage.sh ./proto/tendermint/abci/types.proto $MODNAME "abci/types" @@ -18,7 +18,7 @@ echo "proto files have been compiled" echo "checking out copied files" -find proto/tendermint/ -name '*.proto' \ +find proto/tendermint/ -name '*.proto' -not -path "*.intermediate"\ | xargs -I {} git checkout {} find proto/tendermint/ -name '*.pb.go' \