Fix setup_env sometimes failing to detect git being installed

This commit is contained in:
DevilXD committed 2022-11-24 13:22:29 +01:00
1 parent d308fad51c
commit 01055b4516
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
set /p "choice=Install PyInstaller so you can build an EXEcutable? (y/n) "
set dirpath=%~dp0
if "%dirpath:~-1%" == "\" set dirpath=%dirpath:~0,-1%
git -v > nul
git --version > nul
if %errorlevel% NEQ 0 goto NOGIT
if not exist "%dirpath%\env" (
echo: