do_cmake.sh: Use shallow submodule clones

Signed-off-by: Zack Cerza <zack@redhat.com>
This commit is contained in:
Zack Cerza 2024-03-12 15:06:13 -06:00
parent 54ebb43c87
commit db0eed752e

View File

@ -2,7 +2,7 @@
set -ex
if [ -d .git ]; then
git submodule update --init --recursive --progress
git submodule update --init --recursive --progress --recommend-shallow
fi
: ${BUILD_DIR:=build}