Make ue-build call in ue-package work regardless of PATH

This commit is contained in:
Steve Streeting 2023-09-28 14:41:56 +01:00
parent 97d91cc6b1
commit 44ff8bd318

View File

@ -233,7 +233,7 @@ try {
# to run the "Cook" stage. If we don't do this, then any source plugins will # to run the "Cook" stage. If we don't do this, then any source plugins will
# be missing in a clean checkout build and the cook stage will fail # be missing in a clean checkout build and the cook stage will fail
Write-Output "Building Editor (for Cooking)" Write-Output "Building Editor (for Cooking)"
ue-build.ps1 -mode:dev -src:$src -nocloseeditor -dryrun:$dryrun .\ue-build.ps1 -mode:dev -src:$src -nocloseeditor -dryrun:$dryrun
$ueEditorCmd = Get-UEEditorCmd $ueVersion $ueinstall $ueEditorCmd = Get-UEEditorCmd $ueVersion $ueinstall
$runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix" $runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix"