Skip to content

Commit

Permalink
Fix missing submodules (#2074)
Browse files Browse the repository at this point in the history
* add --recursive for missing submodules
  • Loading branch information
PlayBoy31 committed Nov 3, 2023
1 parent 314184b commit 8c9fd37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/checkout-deps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/checkout-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c9fd37

Please sign in to comment.