Author: dreimer Date: Sun Oct 21 22:29:52 2007 New Revision: 29747
URL: http://svn.reactos.org/svn/reactos?rev=29747&view=rev Log: Fix missing "" n build.cmd Make helpfile entries dependant on the installed optional files.
Modified: trunk/tools/RosBE-Windows/Root/Build.cmd trunk/tools/RosBE-Windows/Root/Help.cmd
Modified: trunk/tools/RosBE-Windows/Root/Build.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Build.cmd?... ============================================================================== --- trunk/tools/RosBE-Windows/Root/Build.cmd (original) +++ trunk/tools/RosBE-Windows/Root/Build.cmd Sun Oct 21 22:29:52 2007 @@ -16,8 +16,8 @@ :: Check if the user has used the options utility and :: if so, load their options. :: -if exist %_ROSBE_BASEDIR%\rosbe-options.cmd ( - call %_ROSBE_BASEDIR%\rosbe-options.cmd +if exist "%_ROSBE_BASEDIR%\rosbe-options.cmd" ( + call "%_ROSBE_BASEDIR%\rosbe-options.cmd" )
:: @@ -29,7 +29,7 @@ if not errorlevel 1 ( echo. echo *** config.template.rbuild is newer than config.rbuild *** - echo *** aborting build. Please update your config.rbuild *** + echo *** aborting build. Please update your config.rbuild *** echo *** by typeing "config update". *** echo. goto :EOB
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?r... ============================================================================== --- trunk/tools/RosBE-Windows/Root/Help.cmd (original) +++ trunk/tools/RosBE-Windows/Root/Help.cmd Sun Oct 21 22:29:52 2007 @@ -17,32 +17,58 @@ if "%1" == "" ( echo. echo Available Commands: - echo make [OPTIONS] - Without options it does a standard build of - echo ReactOS. OPTIONS are the standard ReactOS build - echo options ie. "bootcd" - echo makex [OPTIONS] - Same as 'make' but automatically determines the - echo number of CPU Cores in the system and uses -j - echo with the appropriate number. + + if exist "%_ROSBE_BASEDIR%\build.cmd" ( + echo make [OPTIONS] - Without options it does a standard build of + echo ReactOS. OPTIONS are the standard ReactOS build + echo options ie. "bootcd" + echo makex [OPTIONS] - Same as 'make' but automatically determines the + echo number of CPU Cores in the system and uses -j + echo with the appropriate number. + ) + echo basedir - Switch back to the ReactOS source directory. echo. - echo scut - Define, Remove, Switch and Default to Shortcutted - echo Source-Directories. - echo chdefdir [OPTIONS] - Reconfigures the Default Source Folder for one - echo Session. + + if exist "%_ROSBE_BASEDIR%\scut.cmd" ( + echo scut - Define, Remove, Switch and Default to Shortcutted + echo Source-Directories. + ) + + if exist "%_ROSBE_BASEDIR%\chdefdir.cmd" ( + echo chdefdir [OPTIONS] - Reconfigures the Default Source Folder for one + echo Session. + ) + + if exist "%_ROSBE_BASEDIR%\config.cmd" ( echo config [OPTIONS] - Configures the way, ReactOS will be built. echo. + ) + + if exist "%_ROSBE_BASEDIR%\clean.cmd" ( echo clean [logs] - Fully clean the ReactOS source directory and/or echo the RosBE build logs. + ) + echo help [COMMAND] - Display the available commands or help on a echo specific command. + + if exist "%_ROSBE_BASEDIR%\options.cmd" ( echo options - Starts options.exe and reboots to make the echo changes effective at the end. + ) + + if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" ( echo raddr2line [OPTIONS] - Translates program addresses into file names and echo line numbers to assist Developers to find echo specific Bugs in ReactOS. + ) + + if exist "%_ROSBE_BASEDIR%\sSVN.cmd" ( echo ssvn [OPTIONS] - Create, Update or Clean-up your ReactOS Source echo Tree or show the Revision Number of the Offline echo Tree and Online HEAD Revision. + )
goto :EOF )