diff --git a/scripts/wire-local-setup.bash b/scripts/wire-local-setup.bash index b6ed055..f737af2 100755 --- a/scripts/wire-local-setup.bash +++ b/scripts/wire-local-setup.bash @@ -476,7 +476,13 @@ do done echo "wire-protobuf-bundler,protoc-gen-solana,protoc-gen-solidity are on the PATH" -./scripts/generate-opp-bundles.fish +# wire-sysio renamed the bundle generator .fish -> .sh; support both so older +# branches keep building. +if [ -x ./scripts/generate-opp-bundles.sh ]; then + ./scripts/generate-opp-bundles.sh +else + ./scripts/generate-opp-bundles.fish +fi popd log "wire-sysio: CMake configure & build"