mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Fix directory creation problems
This commit is contained in:
parent
dfa371bbb3
commit
36c0b3d2f1
@ -222,8 +222,8 @@ try {
|
|||||||
Write-Output "Would have pushed: $filename ($oid)"
|
Write-Output "Would have pushed: $filename ($oid)"
|
||||||
} else {
|
} else {
|
||||||
Write-Output "Push: $filename ($oid)"
|
Write-Output "Push: $filename ($oid)"
|
||||||
|
$remotedir = [System.IO.Path]::GetDirectoryName($remotebuiltdata)
|
||||||
New-Item -ItemType Directory [System.IO.Path]::GetDirectoryName($remotebuiltdata) -Force > $null
|
New-Item -ItemType Directory -Path $remotedir -Force > $null
|
||||||
Copy-Item $localbuiltdata $remotebuiltdata
|
Copy-Item $localbuiltdata $remotebuiltdata
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user