mirror of
https://github.com/reactos/RosBE.git
synced 2025-02-17 09:48:05 +00:00
- Add a missing setlocal for an errorlevel check and remove a stray blank line from being displayed in the help.
svn path=/trunk/tools/RosBE/; revision=536
This commit is contained in:
parent
0377bc2e99
commit
e006e8caa0
@ -38,7 +38,6 @@ if "%1" == "" (
|
||||
|
||||
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
|
||||
|
@ -92,12 +92,14 @@ call :LOADDOSKEYMACROS
|
||||
:: 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user