1
0
forked from GitHub/gf-rgl

Batch build script handles multiple paths in GF_LIB_PATH (picks first)

This commit is contained in:
John J. Camilleri
2018-11-26 15:19:05 +01:00
parent 28bc19f09c
commit 4a85289597

View File

@@ -29,11 +29,15 @@ goto Loop
REM Try to determine install location
if "%dest%"=="" (
REM TODO Separate paths with search path separator ; and pick first one
set dest=%GF_LIB_PATH%
REM Separate paths with search path separator ; and pick first one
for %%p in ("%GF_LIB_PATH:;=";"%") do (
set dest=%%~p
goto BreakLibPath
)
)
:BreakLibPath
if "%dest%"=="" (
REM TODO Look in ../gf-core/DATA=DIR
REM TODO Look in ../gf-core/DATA_DIR
)
if "%dest%"=="" (
echo Unable to determine where to install the RGL. Please do one of the following: