mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-28 19:23:14 +01:00
The error level is unreliable on Windows when testing a command. My cmd.exe shell hooks are broken, and this condition always fails for me
This commit is contained in:
parent
abd8c69395
commit
c17222dbe4
@ -39,11 +39,11 @@ if "%PACKAGES_TO_INSTALL%" NEQ "" (
|
|||||||
mkdir "%MAMBA_ROOT_PREFIX%"
|
mkdir "%MAMBA_ROOT_PREFIX%"
|
||||||
call curl -Lk "%MICROMAMBA_DOWNLOAD_URL%" > "%MAMBA_ROOT_PREFIX%\micromamba.exe"
|
call curl -Lk "%MICROMAMBA_DOWNLOAD_URL%" > "%MAMBA_ROOT_PREFIX%\micromamba.exe"
|
||||||
|
|
||||||
if "%ERRORLEVEL%" NEQ "0" (
|
@REM if "%ERRORLEVEL%" NEQ "0" (
|
||||||
echo "There was a problem downloading micromamba. Cannot continue."
|
@REM echo "There was a problem downloading micromamba. Cannot continue."
|
||||||
pause
|
@REM pause
|
||||||
exit /b
|
@REM exit /b
|
||||||
)
|
@REM )
|
||||||
|
|
||||||
mkdir "%APPDATA%"
|
mkdir "%APPDATA%"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user