Skip to content

Commit

Permalink
Also use --recurse-submodules when checking out targets
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Sep 12, 2023
1 parent 0834bae commit 92a1e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/tue-install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ then
then
echo -en "Already on branch ${branch}"
else
git -C "${TUE_ENV_TARGETS_DIR}" checkout "${branch}" -- 2>&1
git -C "${TUE_ENV_TARGETS_DIR}" checkout "${branch}" --recurse-submodules -- 2>&1
git -C "${TUE_ENV_TARGETS_DIR}" submodule sync --recursive 2>&1
git -C "${TUE_ENV_TARGETS_DIR}" submodule update --init --recursive 2>&1
echo -e "Switched to branch ${branch}"
Expand Down

0 comments on commit 92a1e7d

Please sign in to comment.