Author: dreimer
Date: Mon Oct 22 11:52:42 2007
New Revision: 29766
URL:
http://svn.reactos.org/svn/reactos?rev=29766&view=rev
Log:
Fix a typo in RosBE.cmd
Make sure that loading chdefdir more than once does not overwrite the Backup.
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
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 Mon Oct 22 11:52:42 2007
@@ -105,7 +105,7 @@
set _ROSBE_GCCVERSION=4.1.3
set PATH=%_ROSBE_MINGWPATH%\bin;%_ROSBE_MINGWPATH%\libexec\gcc\mingw32\4.1.3;%PATH%
set _ROSBE_MINGWMAKE=%_ROSBE_MINGWPATH%\bin\mingw32-make.exe
- if defined _ROSBE_OLDEMODE (
+ if defined _ROSBE_OLDMODE (
set
C_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\4.1.3\include
set
CPLUS_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\include\c++\4.1.3;%_ROSBE_MINGWPATH%\include\c++\4.1.3\mingw32;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\4.1.3\include
)
Modified: trunk/tools/RosBE-Windows/Root/chdefdir.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/chdefdir.…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/chdefdir.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Mon Oct 22 11:52:42 2007
@@ -10,8 +10,16 @@
title Change the Default Dir...
-set _ROSBE_ROSSOURCEDIRBCK=%_ROSBE_ROSSOURCEDIR%
+::
+:: Create a Backup Variable to revert to Default if wanted.
+::
+if not defined _ROSBE_ROSSOURCEDIRBCK (
+ set _ROSBE_ROSSOURCEDIRBCK=%_ROSBE_ROSSOURCEDIR%
+)
+::
+:: Parse the commands.
+::
if /i "%1" == "" (
goto :INTERACTIVE
)