fix: recursively sync submodules

Closes #4624
This commit is contained in:
Jose Diaz-Gonzalez
2021-08-06 11:40:04 -04:00
parent 534a5f0898
commit bc410b4111

View File

@@ -567,6 +567,7 @@ fn-git-setup-build-dir-submodules() {
# unset the git quarantine path to allow us to use 2.13.0+
# See this issue for more information: https://github.com/dokku/dokku/issues/2796
unset GIT_QUARANTINE_PATH
suppress_output fn-git-cmd "$GIT_WORKDIR" submodule sync --recursive
suppress_output fn-git-cmd "$GIT_WORKDIR" submodule update --init --recursive
if [[ "$DOKKU_KEEP_GIT_DIR" != "true" ]]; then