Fix missing submodules (#2074)

* add --recursive for missing submodules
This commit is contained in:
PlayBoy31 2023-11-03 05:02:15 +01:00 committed by GitHub
parent 314184beea
commit 8c9fd3746b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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

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