Skip to content
Snippets Groups Projects
Commit 95986003 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Exit returns correct exit code

parent 763eadda
No related branches found
No related tags found
No related merge requests found
Subproject commit c995551a3ea6c6e9454d60ba16c31ed1469cb498
Subproject commit ef96324d712d42bf729db96719606696001a3ecf
Subproject commit f877bcd3979b4a4c5b400642d1db98eaabeecdaf
Subproject commit 1b19726b5b5de0894ff10703b907dc5657bd8051
......@@ -13,11 +13,11 @@ if (-not $env:AIDGE_INSTALL_PATH)
# aidge_core
Set-Location aidge/aidge_core
. .\setup.ps1 -install_reqs:$install_reqs
if(!$?) { Set-Location $PSScriptRoot; Exit $LASTEXITCODE }
if(!$?) { $lastError = $LASTEXITCODE; Set-Location $PSScriptRoot; Exit $lastError }
Set-Location $PSScriptRoot
# aidge_backend_cpu
Set-Location aidge/aidge_backend_cpu
if(!$?) { Set-Location $PSScriptRoot; Exit $LASTEXITCODE }
if(!$?) { $lastError = $LASTEXITCODE; Set-Location $PSScriptRoot; Exit $lastError }
. .\setup.ps1 -install_reqs:$install_reqs
Set-Location $PSScriptRoot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment