mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-15 18:14:08 +00:00
Make set-python-to-path.bat callable from outside locations
This commit is contained in:
@@ -22,11 +22,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
set TARGET_ARCH=%1
|
set TARGET_ARCH=%1
|
||||||
if "%TARGET_ARCH%"=="" set TARGET_ARCH=x64
|
if "%TARGET_ARCH%"=="" set TARGET_ARCH=x64
|
||||||
if not exist BuildDepsCache-%TARGET_ARCH%.txt. (
|
if not exist %~dp0BuildDepsCache-%TARGET_ARCH%.txt. (
|
||||||
echo BuildDepsCache-%TARGET_ARCH%.txt does not exist
|
echo %~dp0BuildDepsCache-%TARGET_ARCH%.txt does not exist
|
||||||
goto :EOF
|
goto :EOF
|
||||||
)
|
)
|
||||||
for /f "delims== tokens=1,2" %%G in (BuildDepsCache-%TARGET_ARCH%.txt) do set %%G=%%H
|
for /f "delims== tokens=1,2" %%G in (%~dp0BuildDepsCache-%TARGET_ARCH%.txt) do set %%G=%%H
|
||||||
if not defined PYTHONHOME (
|
if not defined PYTHONHOME (
|
||||||
echo PYTHONHOME PYTHONHOME not defined
|
echo PYTHONHOME PYTHONHOME not defined
|
||||||
goto :EOF
|
goto :EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user