From 8c9fd3746b75a873da12aefb3e5db4b5f57a5793 Mon Sep 17 00:00:00 2001 From: PlayBoy31 Date: Fri, 3 Nov 2023 05:02:15 +0100 Subject: [PATCH] Fix missing submodules (#2074) * add --recursive for missing submodules --- tools/checkout-deps.ps1 | 2 +- tools/checkout-deps.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/checkout-deps.ps1 b/tools/checkout-deps.ps1 index 234d6fb096..9e608ab71b 100644 --- a/tools/checkout-deps.ps1 +++ b/tools/checkout-deps.ps1 @@ -44,7 +44,7 @@ Function Get-Repository If (-not (Test-Path $Name -PathType Container)) { - & git clone $Repo -b $Branch $Name 2>&1 | Write-Host + & git clone --recursive $Repo -b $Branch $Name 2>&1 | Write-Host If ($Origin) { Set-Location $Name diff --git a/tools/checkout-deps.sh b/tools/checkout-deps.sh index 34394e2e99..42c30996dc 100755 --- a/tools/checkout-deps.sh +++ b/tools/checkout-deps.sh @@ -95,7 +95,7 @@ fi checkout () { if [ ! -d "$name" ]; then - git clone $repo -b $branch $name + git clone --recursive $repo -b $branch $name if [ -n "$origin" ]; then cd $name git remote set-url origin $origin