Skip to content

Commit 0625a4d

Browse files
committed
Merge branch 'cassandra-6.0' into trunk
2 parents 8f192b6 + 84016ab commit 0625a4d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.build/git/git-hooks/post-checkout/100-update-submodules.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ _main() {
3636
return 0
3737
fi
3838

39-
local extra_args=()
39+
local extra_args=""
4040
if [[ -n "${BUILD_OFFLINE:-}" ]]; then
4141
echo "BUILD_OFFLINE is defined; using --no-fetch for submodule updates (local SHAs only)."
4242
echo "If your submodules are not already available locally, expect this to error out."
43-
extra_args+=(--no-fetch)
43+
extra_args="--no-fetch"
4444
fi
45-
git submodule update --init --recursive "${extra_args[@]}"
45+
git submodule update --init --recursive ${extra_args:-}
4646
}
4747

4848
_main "$@"

0 commit comments

Comments
 (0)