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