set-python-to-path.bat: fix for command for quoted filename

This commit is contained in:
Stinkfist0
2017-05-10 16:45:22 +03:00
committed by Thomas Krijnen
parent 97c5126a77
commit 20c189c321
+1 -1
View File
@@ -26,7 +26,7 @@ if not exist "%~dp0BuildDepsCache-%TARGET_ARCH%.txt". (
echo %~dp0BuildDepsCache-%TARGET_ARCH%.txt does not exist
goto :EOF
)
for /f "delims== tokens=1,2" %%G in ("%~dp0BuildDepsCache-%TARGET_ARCH%.txt") do set %%G=%%H
for /f "usebackq delims== tokens=1,2" %%G in ("%~dp0BuildDepsCache-%TARGET_ARCH%.txt") do set %%G=%%H
if not defined PYTHONHOME (
echo PYTHONHOME not defined
goto :EOF