From 1e26f8687c6df89f63ec69cdba7be7509bdf7775 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Tue, 5 Sep 2023 12:43:36 +0200 Subject: [PATCH] (tue-install-git) git checkout --recurse-submodules --- installer/tue-install-impl.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/tue-install-impl.bash b/installer/tue-install-impl.bash index e3d777207..06fd45efd 100755 --- a/installer/tue-install-impl.bash +++ b/installer/tue-install-impl.bash @@ -303,8 +303,8 @@ function _try_branch_git local repo branch _checkout_error_code repo="$1" branch="$2" - tue-install-debug "git -C $repo checkout $branch --" - _try_branch_res=$(git -C "$repo" checkout "$branch" -- 2>&1) # _try_branch_res is a "global" variable from tue-install-git + tue-install-debug "git -C ${repo} checkout ${branch} --recurse-submodules --" + _try_branch_res=$(git -C "${repo}" checkout "${branch}" --recurse-submodules -- 2>&1) # _try_branch_res is a "global" variable from tue-install-git _checkout_error_code=$? tue-install-debug "_try_branch_res(${_checkout_error_code}): ${_try_branch_res}"