Author: peterw
Date: Mon Nov 12 22:36:24 2007
New Revision: 30403
URL:
http://svn.reactos.org/svn/reactos?rev=30403&view=rev
Log:
- Add a missing setlocal for an errorlevel check and remove a stray blank line from being
displayed in the help.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Hel…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd Mon Nov 12 22:36:24 2007
@@ -38,7 +38,6 @@
if exist "%_ROSBE_BASEDIR%\Config.cmd" (
echo config [OPTIONS] - Configures the way, ReactOS will be built.
- echo.
)
echo help [COMMAND] - Display the available commands or help on a
Modified: trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd Mon Nov 12 22:36:24 2007
@@ -92,12 +92,14 @@
:: Look if the ReactOS source directory is empty. If so,
:: inform the user and mention 'ssvn create' (only if ssvn is installed).
::
+setlocal enabledelayedexpansion
if exist "%_ROSBE_BASEDIR%\sSVN.cmd" (
dir /b "%_ROSBE_ROSSOURCEDIR%" 2>nul | findstr "." >nul
- if errorlevel 1 (
+ if !errorlevel! == 1 (
echo No ReactOS source detected. Please use "ssvn create" to download
it.
)
)
+endlocal
goto :EOC