Fix missing submodules (#2074)
* add --recursive for missing submodules
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user