diff options
-rwxr-xr-x | share/hydra/init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/init b/share/hydra/init index eaaaa89..0821d45 100755 --- a/share/hydra/init +++ b/share/hydra/init @@ -50,12 +50,12 @@ if [ ! -z "$REMOTE" ]; then # Initialize only the required repositories for repo in $BASEREPOS; do if [ -e '.gitmodules' ] && git submodule | grep -q " $repo$"; then - git submodule update --init $repo + git submodule update --init --recursive $repo else REMOTE="`echo $REMOTE | sed -e 's|/$||'`" if git ls-remote ${REMOTE}/$repo &> /dev/null; then - git clone ${REMOTE}/$repo `basename $repo .git` + git clone --recursive ${REMOTE}/$repo `basename $repo .git` else echo "Skipping unavailable ${REMOTE}/$repo..." fi |