ClickHouse/contrib/update-submodules.sh

12 lines
201 B
Bash
Raw Normal View History

2023-03-29 16:33:15 +00:00
#!/bin/sh
set -e
WORKDIR=$(dirname "$0")
WORKDIR=$(readlink -f "${WORKDIR}")
"$WORKDIR/sparse-checkout/setup-sparse-checkout.sh"
git submodule init
git submodule sync
git submodule update --depth=1