diff options
| author | Bryan Galdrikian <[email protected]> | 2024-12-20 16:15:12 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2024-12-20 16:15:12 -0800 |
| commit | b16fdc73d55b467b15595e32c70418ea55c1fe2b (patch) | |
| tree | 4213c6fe17aafd8bdf23e66d376ca03ccb33ae86 /buildtools/packman5/packman.cmd | |
| parent | Removing reference to deprecated documentation server (diff) | |
| download | blast-b16fdc73d55b467b15595e32c70418ea55c1fe2b.tar.xz blast-b16fdc73d55b467b15595e32c70418ea55c1fe2b.zip | |
Updating packman
Diffstat (limited to 'buildtools/packman5/packman.cmd')
| -rwxr-xr-x | buildtools/packman5/packman.cmd | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/buildtools/packman5/packman.cmd b/buildtools/packman5/packman.cmd deleted file mode 100755 index b06f6dc..0000000 --- a/buildtools/packman5/packman.cmd +++ /dev/null @@ -1,40 +0,0 @@ -:: Reset errorlevel status so we are not inheriting this state from the calling process:
-@call :RESET_ERROR
-:: You can remove the call below if you do your own manual configuration of the dev machines
-@call "%~dp0\win-bootstrap\configure.bat"
-@if errorlevel 1 exit /b 1
-:: Everything below is mandatory
-@if not defined PM_PYTHON goto :PYTHON_ENV_ERROR
-@if not defined PM_MODULE goto :MODULE_ENV_ERROR
-
-:: Generate temporary path for variable file
-@for /f "delims=" %%a in ('powershell -ExecutionPolicy ByPass -NoLogo -NoProfile ^
--File "%~dp0win-bootstrap\generate_temp_file_name.ps1"') do @set PM_VAR_PATH=%%a
-
-@"%PM_PYTHON%" -s -u -E "%PM_MODULE%" %* --var-path="%PM_VAR_PATH%"
-@if errorlevel 1 goto :eof
-
-:: Marshall environment variables into the current environment if they have been generated and remove temporary file
-@if exist "%PM_VAR_PATH%" (
- @for /F "usebackq tokens=*" %%A in ("%PM_VAR_PATH%") do @set "%%A"
- @if errorlevel 1 goto :VAR_ERROR
- @del /F "%PM_VAR_PATH%"
-)
-@set PM_VAR_PATH=
-@goto :eof
-
-:: Subroutines below
-:PYTHON_ENV_ERROR
-@echo User environment variable PM_PYTHON is not set! Please configure machine for packman or call configure.bat.
-@exit /b 1
-
-:MODULE_ENV_ERROR
-@echo User environment variable PM_MODULE is not set! Please configure machine for packman or call configure.bat.
-@exit /b 1
-
-:VAR_ERROR
-@echo Error while processing and setting environment variables!
-@exit /b 1
-
-:RESET_ERROR
-@exit /b 0
\ No newline at end of file |