[ros-diffs] [dreimer] 43013: Add the multi clean support in Batch too. thx to mota from #powershell

dreimer at svn.reactos.org dreimer at svn.reactos.org
Tue Sep 8 16:38:45 CEST 2009


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/Clean.cmd?rev=43013&r1=43012&r2=43013&view=diff
==============================================================================
--- 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




More information about the Ros-diffs mailing list