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)"
|
||||
} else {
|
||||
Write-Output "Push: $filename ($oid)"
|
||||
|
||||
New-Item -ItemType Directory [System.IO.Path]::GetDirectoryName($remotebuiltdata) -Force > $null
|
||||
$remotedir = [System.IO.Path]::GetDirectoryName($remotebuiltdata)
|
||||
New-Item -ItemType Directory -Path $remotedir -Force > $null
|
||||
Copy-Item $localbuiltdata $remotebuiltdata
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user