From 29eea935924d1de1ba62476cd5b082188c8594dd Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 12 Oct 2022 22:27:22 +0530 Subject: [PATCH] Fix the tmp file used for checking the existence of git and conda commands --- installer/install.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/install.bat b/installer/install.bat index a63b8c2ead..aa7c099bcd 100644 --- a/installer/install.bat +++ b/installer/install.bat @@ -20,10 +20,10 @@ set MICROMAMBA_BINARY_FILE=%cd%\installer_files\micromamba_win_x64.exe @rem figure out whether git and conda needs to be installed set PACKAGES_TO_INSTALL= -call conda --version >tmp/stdout.txt 2>tmp/stderr.txt +call conda --version >.tmp1 2>.tmp2 if "%ERRORLEVEL%" NEQ "0" set PACKAGES_TO_INSTALL=%PACKAGES_TO_INSTALL% conda -call git --version >tmp/stdout.txt 2>tmp/stderr.txt +call git --version >.tmp1 2>.tmp2 if "%ERRORLEVEL%" NEQ "0" set PACKAGES_TO_INSTALL=%PACKAGES_TO_INSTALL% git @rem (if necessary) install git and conda into a contained environment