no neet to check GF_LIB_PATH. GF will do it anyway

This commit is contained in:
Krasimir Angelov
2022-08-24 14:29:27 +02:00
parent d953c0f503
commit fc1ca4b8f1
3 changed files with 3 additions and 21 deletions

View File

@@ -27,21 +27,9 @@ REM Check command line options
goto Loop
:Continue
REM Try to determine install location
if "%dest%"=="" (
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%"=="" (
echo Unable to determine where to install the RGL. Please do one of the following:
echo - Pass the --dest=... flag to this script
echo - Set the GF_LIB_PATH environment variable
REM echo - Compile & install GF from the gf-core repository (must be in same directory as gf-rgl)
exit /b
)