Add the multi clean support in Batch too. thx to mota from #powershell

svn path=/trunk/tools/RosBE/; revision=1106
This commit is contained in:
Daniel Reimer 2009-09-08 14:38:44 +00:00
parent 13686b6fca
commit fc307567cc

View File

@ -28,10 +28,16 @@ if "%1" == "" (
call :LOG
goto :EOC
) else (
"%_ROSBE_BASEDIR%\Build.cmd" %1_clean
goto :EOC
call :WHILE %*
)
goto :EOC
:WHILE
if "%1" == "" goto :EOF
call "%_ROSBE_BASEDIR%\Build.cmd" %1_clean
shift /1
echo.
GOTO :WHILE %*
:: Check if we have any logs to clean, if so, clean them.
:LOG