Fix missing submodules (#2074)

* add --recursive for missing submodules
This commit is contained in:
PlayBoy31
2023-11-02 21:02:15 -07:00
committed by GitHub
parent 314184beea
commit 8c9fd3746b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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