Author: dreimer
Date: Tue Sep 8 16:38:44 2009
New Revision: 43013
URL:
http://svn.reactos.org/svn/reactos?rev=43013&view=rev
Log:
Add the multi clean support in Batch too. thx to mota from #powershell
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cle…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd [iso-8859-1] Tue Sep 8 16:38:44 2009
@@ -28,10 +28,16 @@
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