From fe9a679d10ead9ff29c01d3ad4f06414855a18ca Mon Sep 17 00:00:00 2001 From: Harry Bond Date: Wed, 3 Sep 2025 06:55:53 +0200 Subject: [PATCH] [build] Always try to init/update submodules (#1692) submodules can be outdated etc when switching between branches, it makes sense to just always re-init them Signed-off-by: Harry Bond Co-authored-by: Harry Bond Co-committed-by: Harry Bond --- configure.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.sh b/configure.sh index ec53e3d97..b2a8e3cff 100755 --- a/configure.sh +++ b/configure.sh @@ -68,10 +68,10 @@ Diff() { fi } -if [ ! -d 3party/boost/tools ]; then - echo "Cloning all submodules..." - git submodule update --init --recursive --depth 1 -fi + +echo "Checking submodules..." +git submodule update --init --recursive --depth 1 + if [ ! -d 3party/boost/boost ]; then echo "Bootstrapping the boost C++ library..." pushd 3party/boost/