mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Start initializing submodules as well for deps
This commit is contained in:
parent
13a24b325c
commit
d1f9c1af62
1 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,10 @@ do
|
|||
do_and_check_cmd git subtree pull --prefix "src/deps/src/$id" "$url" "$commit" --squash
|
||||
fi
|
||||
|
||||
if [ -f "src/deps/src/$id/.gitmodules" ] ; then
|
||||
do_and_check_cmd git submodule init --recursive -- "src/deps/src/$id"
|
||||
fi
|
||||
|
||||
if [ -d "src/deps/src/$id/.git" ] ; then
|
||||
do_and_check_cmd rm -rf "src/deps/src/$id/.git"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue