@echo off pushd "%CD%" CD /D "%~dp0" call cascade-make/lib/cascade-lib.bat echo "Test for directory in Windows might not be correct syntax!!" if not exist "%GEXTVIDEO_INSTALLED%" ( echo Creating %GEXTVIDEO_INSTALLED% mkdir "%GEXTVIDEO_INSTALLED%" ) set dirlist=runtime-srcpack for /D %%d IN (%dirlist%) do ( echo Running %%d\CASCADE-MAKE.bat %* (cd %%d && call CASCADE-MAKE.bat %* && cd ..) if not ERRORLEVEL 0 ( echo Error encountered running %%d\CASCADE-MAKE.bat goto ErrorExitPos1 ) ) if "%install%" == "1" ( type README.txt ) goto End :ErrorExitNeg1 set ERRORLEVEL=-1 goto End :ErrorExitPos1 set ERRORLEVEL=1 goto End :End popd