forked from cafeberry/cafeberry
fix(orbis): set workingdir
This commit is contained in:
1 parent
b7e90137b9
commit
689848ac45
1 file changed
+3
-1
@@ -128,7 +128,9 @@ if (-not (Test-Path $genGp4)) {
|
|||||||
} else {
|
} else {
|
||||||
Write-Host "Orbis Postbuild: Generating GP4..."
|
Write-Host "Orbis Postbuild: Generating GP4..."
|
||||||
$proc = Start-Process -FilePath $genGp4 -ArgumentList $pkgSrc `
|
$proc = Start-Process -FilePath $genGp4 -ArgumentList $pkgSrc `
|
||||||
-NoNewWindow -Wait -PassThru
|
-WorkingDirectory (Split-Path $pkgSrc -Parent) `
|
||||||
|
-NoNewWindow -Wait -PassThru
|
||||||
|
|
||||||
if ($proc.ExitCode -ne 0) {
|
if ($proc.ExitCode -ne 0) {
|
||||||
Write-Host "Orbis Postbuild ERROR: gengp4_app.exe failed with exit code $($proc.ExitCode)"
|
Write-Host "Orbis Postbuild ERROR: gengp4_app.exe failed with exit code $($proc.ExitCode)"
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user