Batch build script handles multiple paths in GF_LIB_PATH (picks first)
This commit is contained in:
1 parent
28bc19f09c
commit
4a85289597
1 file changed
+7
-3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user