File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed
Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 11setlocal
2- call " %~dp0 ..\installation_and_upgrade\define_latest_genie_python.bat"
3- IF %errorlevel% neq 0 EXIT /b %errorlevel%
2+ call " %~dp0 ..\installation_and_upgrade\install_or_update_uv.bat"
3+ call " %~dp0 ..\installation_and_upgrade\set_up_venv.bat"
4+
45set PYTHONUNBUFFERED = TRUE
5- REM use LATEST_PYTHON3 so not killed by stop_ibex_server
6- call " %LATEST_PYTHON3% " -u " %~dp0 check_builds_are_recent.py"
7- call " %~dp0 ..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%
6+
7+ call python -u " %~dp0 check_builds_are_recent.py"
Original file line number Diff line number Diff line change 11setlocal EnableDelayedExpansion
2- REM Remove old builds from the archive
32
4- set " WORKWIN = %WORKSPACE:/ =\ % "
5-
6- if " %WORKWIN% " == " " (
7- call " %~dp0 ..\installation_and_upgrade\define_latest_genie_python.bat"
8- ) else (
9- if exist " %WORKWIN% \Python3" rd /s /q %WORKWIN% \Python3
10- if !errorlevel! neq 0 exit /b 1
11- call " %~dp0 ..\installation_and_upgrade\define_latest_genie_python.bat" %WORKWIN% \Python3
12- )
13- IF %errorlevel% neq 0 EXIT /b %errorlevel%
3+ call " %~dp0 ..\installation_and_upgrade\install_or_update_uv.bat"
4+ call " %~dp0 ..\installation_and_upgrade\set_up_venv.bat"
145
156set PYTHONUNBUFFERED = TRUE
16- REM use LATEST_PYTHON3 to avoid process being killed
17- " %LATEST_PYTHON3% " -u " %~dp0 purge_archive.py"
7+ python -u " %~dp0 purge_archive.py"
188set errcode = !errorlevel!
199@ echo purge_archive.py exited with code !errcode!
2010
3424for /F " skip=1" %%I in ('wmic path win32_localtime get dayofweek') do (set /a DOW=%%I 2 > NUL )
3525if %DOW% neq 6 (
3626 @ echo Skipping debug symbol cleanup as day of week %DOW% is not 6
37- CALL " %~dp0 ..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%
3827 exit /b !errcode!
3928)
4029
@@ -52,5 +41,3 @@ if exist "%AGESTORE%" (
5241) else (
5342 @ echo agestore does not exist
5443)
55-
56- CALL " %~dp0 ..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%
You can’t perform that action at this time.
0 commit comments