1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-27 05:29:47 +01:00

populate git: clone with --recurse-submodules

This commit is contained in:
tv 2018-08-23 13:04:21 +02:00
parent 806b500e1e
commit 2440120c88

View file

@ -24,7 +24,7 @@ let
pop.git = target: git: shell' target /* sh */ '' pop.git = target: git: shell' target /* sh */ ''
if ! test -e ${quote target.path}; then if ! test -e ${quote target.path}; then
git clone ${quote git.url} ${quote target.path} git clone --recurse-submodules ${quote git.url} ${quote target.path}
fi fi
cd ${quote target.path} cd ${quote target.path}
if ! url=$(git config remote.origin.url); then if ! url=$(git config remote.origin.url); then