fix autogen.bat model download
This commit is contained in:
parent
0d823c137c
commit
f126bfc531
@ -4,11 +4,9 @@ REM Run this to set up the build system: configure, makefiles, etc.
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
REM Parse the real autogen.sh script for version
|
||||
for /F "tokens=4 delims= " %%A in ('findstr "dnn\download_model.sh" autogen.sh') do (
|
||||
for /F "tokens=2 delims= " %%A in ('findstr "dnn/download_model.sh" autogen.sh') do (
|
||||
set "model=%%A"
|
||||
)
|
||||
REM Remove trailing ")" character from the model variable
|
||||
set "model=%model:~0,-1%"
|
||||
|
||||
call dnn\download_model.bat %model%
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user