Author: peterw
Date: Sat Oct 20 10:37:14 2007
New Revision: 29701
URL:
http://svn.reactos.org/svn/reactos?rev=29701&view=rev
Log:
- Fix some typos, bit more cleanup.
Modified:
trunk/tools/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Tools/config/options.c
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Sat Oct 20 10:37:14 2007
@@ -18,7 +18,7 @@
echo.
echo Available Commands:
echo make [OPTIONS] - Without options it does a standard build of
- echo ReactOS. OPTIONS1 are the standard ReactOS build
+ 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
@@ -43,16 +43,16 @@
goto :EOF
)
if "%1" == "make" (
- echo Usage: make [OPTIONS1] [OPTIONS2]
- echo Without options it does a standard build of ReactOS. OPTIONS1 are the
+ echo Usage: make [OPTIONS]
+ echo Without options it does a standard build of ReactOS. OPTIONS are the
echo standard ReactOS build options ie. "bootcd", "livecd", etc.
goto :EOF
)
if "%1" == "makex" (
- echo Usage: makex [OPTIONS1] [OPTIONS2]
+ echo Usage: makex [OPTIONS]
echo Same as 'make' but automatically determines the number of CPU Cores in
echo the system and uses "make -j x" with the appropriate number.
- echo NOTE: The number makex uses can be modified by editing Build-Multi.cmd
+ echo NOTE: The number makex uses can be modified by editing Build.cmd
echo located in the RosBE directory, instructions for doing so are
echo contained within the file.
goto :EOF
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Sat Oct 20 10:37:14 2007
@@ -41,7 +41,7 @@
::
if "%1" == "oldmode" (
cls
- set _ROSBE_OLDMODE=
+ set _ROSBE_OLDMODE=""
call :RosBE4
goto :EndCommandParse
)
Modified: trunk/tools/RosBE-Windows/Tools/config/options.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/config/o…
==============================================================================
--- trunk/tools/RosBE-Windows/Tools/config/options.c (original)
+++ trunk/tools/RosBE-Windows/Tools/config/options.c Sat Oct 20 10:37:14 2007
@@ -48,7 +48,7 @@
{
int foreground, background;
BOOL showtime, writelog, useccache, strip;
- WCHAR logpath[MAX_PATH], mingwpath[MAX_PATH], checkmgw[MAX_PATH],
checklog[MAX_PATH];
+ WCHAR logdir[MAX_PATH], mingwpath[MAX_PATH], checkmgw[MAX_PATH], checklog[MAX_PATH];
WCHAR msgerror[256];
HANDLE hFile;
FILE *pFile;
@@ -59,19 +59,19 @@
strip = SendMessage(GetDlgItem(hwnd, ID_STRIP), BM_GETCHECK, 0, 0);
foreground = SendMessage(GetDlgItem(hwnd, IDC_FONT), CB_GETCURSEL, 0, 0);
background = SendMessage(GetDlgItem(hwnd, IDC_BACK), CB_GETCURSEL, 0, 0);
- GetDlgItemText(hwnd, ID_LOGDIR, logpath, MAX_PATH);
+ GetDlgItemText(hwnd, ID_LOGDIR, logdir, MAX_PATH);
GetDlgItemText(hwnd, ID_MGWDIR, mingwpath, MAX_PATH);
if (writelog)
{
GetCurrentDirectory(MAX_PATH, checklog);
- if (SetCurrentDirectory(logpath))
+ if (SetCurrentDirectory(logdir))
{
SetCurrentDirectory(checklog);
}
else
{
- if (!CreateDirectory(logpath, NULL))
+ if (!CreateDirectory(logdir, NULL))
{
LoadString(hInstance, MSG_DIREFAILED, msgerror, 256);
MessageBox(NULL, msgerror, NULL, MB_ICONERROR);
@@ -106,7 +106,7 @@
fprintf(pFile, "set _ROSBE_USECCACHE=%d\n", useccache);
fprintf(pFile, "set _ROSBE_STRIP=%d\n", strip);
fprintf(pFile, "set _ROSBE_WRITELOG=%d\n", writelog);
- fprintf(pFile, "set _ROSBE_LOGPATH=%S\n", logpath);
+ fprintf(pFile, "set _ROSBE_LOGDIR=%S\n", logdir);
fprintf(pFile, "set _ROSBE_MINGWPATH=%S\n", mingwpath);
fclose(pFile);
return TRUE;