CALL setenv.bat SET IPT_PATH=%RS_EXPORT%\data\effects SET CACHE_PATH=x:\cache REM CALL del %IPT_PATH%\*.* /s /q REM CALL del %CACHE_PATH%\*.* /s /q IF "%USE_XGE%" NEQ "" ( SET DOJOB=xgSubmit.exe /group=Build /allowremote=off /command SET WAITJOBS=xgWait.exe /group=Build ) ELSE ( SET DOJOB=CALL SET WAITJOBS= ) REM don't use XGE on the stub file - because all the paralell jobs need to copy stub.ipt somewhere so we need to make sure it exists. REM CALL data_mk_rmptfx_ipt stub CALL data_mk_rmptfx_ipt_custom.bat %WAITJOBS% IF "%USE_XGE%" == "" ( REM Caller needs to do this for XGE builds - since internally it'll start its own XGE build. CALL data_mk_rmptfx_rpf.bat )