From 129ad01b651d1e3ac9213b86b0fdcbb0fc48fec5 Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Tue, 8 Oct 2019 14:23:13 -0500 Subject: [PATCH] Fix for spaces in py paths --- gibMacOS.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gibMacOS.bat b/gibMacOS.bat index 2631fb1..385028b 100644 --- a/gibMacOS.bat +++ b/gibMacOS.bat @@ -34,7 +34,7 @@ if not exist "!thisDir!\!script_name!" ( goto checkpy :checkpy -for /f "tokens=1" %%x in ('where python') do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" ) +for /f "tokens=*" %%x in ('where python') do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" ) set "targetpy=3" if /i "!use_py3!" == "FALSE" ( set "targetpy=2"