mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Fix creating local dirs on pull
This commit is contained in:
parent
82c489e6d3
commit
03479c2e2f
@ -279,7 +279,8 @@ try {
|
|||||||
Write-Output "Would have pulled: $filename ($oid)"
|
Write-Output "Would have pulled: $filename ($oid)"
|
||||||
} else {
|
} else {
|
||||||
Write-Output "Pull: $filename ($oid)"
|
Write-Output "Pull: $filename ($oid)"
|
||||||
New-Item -ItemType Directory $subdir -Force > $null
|
$subdir = [System.IO.Path]::GetDirectoryName($localbuiltdata)
|
||||||
|
New-Item -ItemType Directory -Path $subdir -Force > $null
|
||||||
Copy-Item $remotebuiltdata $localbuiltdata
|
Copy-Item $remotebuiltdata $localbuiltdata
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user