Skip to content

Commit

Permalink
HOME -> USERPROFILE
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Oct 2, 2024
1 parent 06da3e9 commit c344fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .scripts/run_win_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set "MICROMAMBA_URL=https://github.com/mamba-org/micromamba-releases/releases/do
set "MICROMAMBA_TMPDIR=%TMP%\micromamba-%RANDOM%"
set "MICROMAMBA_TMP=%MICROMAMBA_TMPDIR%\micromamba.exe"
if "%MINIFORGE_ROOT%"=="" (
set "MINIFORGE_ROOT=%HOME%\Miniforge"
set "MINIFORGE_ROOT=%USERPROFILE%\Miniforge"
)

echo Downloading micromamba %MICROMAMBA_VERSION%
Expand All @@ -25,7 +25,7 @@ certutil -urlcache -split -f "%MICROMAMBA_URL%" "%MICROMAMBA_TMP%"
if errorlevel 1 exit 1

echo Creating environment
call "%MICROMAMBA_TMP%" create --yes --root-prefix "%HOME%\.conda" --prefix "%MINIFORGE_ROOT%" ^
call "%MICROMAMBA_TMP%" create --yes --root-prefix "%USERPROFILE%\.conda" --prefix "%MINIFORGE_ROOT%" ^
--channel conda-forge ^
--file .ci_support\requirements.txt
if errorlevel 1 exit 1
Expand Down

0 comments on commit c344fcf

Please sign in to comment.