Fix missing submodules (#2074)
* add --recursive for missing submodules
This commit is contained in:
parent
314184beea
commit
8c9fd3746b
2
tools/checkout-deps.ps1
vendored
2
tools/checkout-deps.ps1
vendored
@ -44,7 +44,7 @@ Function Get-Repository
|
|||||||
|
|
||||||
If (-not (Test-Path $Name -PathType Container))
|
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)
|
If ($Origin)
|
||||||
{
|
{
|
||||||
Set-Location $Name
|
Set-Location $Name
|
||||||
|
2
tools/checkout-deps.sh
vendored
2
tools/checkout-deps.sh
vendored
@ -95,7 +95,7 @@ fi
|
|||||||
checkout ()
|
checkout ()
|
||||||
{
|
{
|
||||||
if [ ! -d "$name" ]; then
|
if [ ! -d "$name" ]; then
|
||||||
git clone $repo -b $branch $name
|
git clone --recursive $repo -b $branch $name
|
||||||
if [ -n "$origin" ]; then
|
if [ -n "$origin" ]; then
|
||||||
cd $name
|
cd $name
|
||||||
git remote set-url origin $origin
|
git remote set-url origin $origin
|
||||||
|
Loading…
Reference in New Issue
Block a user