Author: dreimer
Date: Tue Jul 10 12:24:31 2007
New Revision: 27554
URL:
http://svn.reactos.org/svn/reactos?rev=27554&view=rev
Log:
- add some "" to prevent bugs
- Fix Title setting in clean.cmd
- Add a better way to set another Default Source Dir.
Added:
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
Modified:
trunk/tools/RosBE-Windows/Root/Build-Shared.cmd
trunk/tools/RosBE-Windows/Root/Clean.cmd
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/RosBE.mac
Modified: trunk/tools/RosBE-Windows/Root/Build-Shared.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Build-Sha…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Build-Shared.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Build-Shared.cmd Tue Jul 10 12:24:31 2007
@@ -41,7 +41,7 @@
:: abort the build and inform the user.
::
if exist "%_ROSSOURCEDIR%\config.rbuild" (
- %ROSBEBASEDIR%\Tools\test.exe "%_ROSSOURCEDIR%\config.template.rbuild" -nt
"%_ROSSOURCEDIR%\config.rbuild"
+ "%ROSBEBASEDIR%\Tools\test.exe"
"%_ROSSOURCEDIR%\config.template.rbuild" -nt
"%_ROSSOURCEDIR%\config.rbuild"
if not errorlevel 1 (
echo.
echo *** config.template.rbuild is newer than config.rbuild ***
Modified: trunk/tools/RosBE-Windows/Root/Clean.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Clean.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Clean.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Clean.cmd Tue Jul 10 12:24:31 2007
@@ -91,6 +91,7 @@
) else (
echo There is nothing to clean.
)
+ title ReactOS Build Environment 0.3.7
goto :EOC
)
if "%1" == "logs" (
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 Tue Jul 10 12:24:31 2007
@@ -29,11 +29,8 @@
::
:: Save our initial directory (should be the ReactOS source directory)
::
-echo If you want to use RosBE with another Tree than the Default one, please set the Path
to it now:
-SET /P XY=
-
-if /I "%XY%"=="" set _ROSSOURCEDIR=%CD%
-if /I not "%XY%"=="" set _ROSSOURCEDIR=%XY%
+set _ROSSOURCEDIR=%CD%
+set _ROSSRCDIRBCK=%CD%
::
:: Display the current version of GCC, NASM, ld and make.
Modified: trunk/tools/RosBE-Windows/Root/RosBE.mac
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.mac…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.mac (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.mac Tue Jul 10 12:24:31 2007
@@ -5,4 +5,5 @@
HELP = "%ROSBEBASEDIR%\Help.cmd" $*
MAKE = "%ROSBEBASEDIR%\Build.cmd" $*
MAKEX = "%ROSBEBASEDIR%\Build-Multi.cmd" $*
+CHDEFDIR = "%ROSBEBASEDIR%\chdefdir.cmd" $*
RADDR2LINE = "%ROSBEBASEDIR%\RAddr.cmd" $*
Added: 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 (added)
+++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Tue Jul 10 12:24:31 2007
@@ -1,0 +1,36 @@
+::
+:: PROJECT: RosBE - ReactOS Build Environment for Windows
+:: LICENSE: GPL - See COPYING in the top level directory
+:: FILE: Root/chdefdir.cmd
+:: PURPOSE: Tool to change the Default Work Dir in RosBE.
+:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
+::
+::
+@echo off
+
+if /I "%1"=="" (
+ goto :DEF
+)
+if /I "%1"=="default" (
+ set "%_ROSSOURCEDIR%" == "%_ROSSRCDIRBCK%"
+) else (
+ set "%_ROSSOURCEDIR%" == "%1"
+)
+goto :END
+
+:DEF
+
+echo in a Path to use RosBE in or "default" to revert to Default Dir:
+SET /P XY=
+
+if /I "%XY%"=="" (
+ goto :END
+)
+if /I "%XY%"=="default" (
+ set "%_ROSSOURCEDIR%" == "%_ROSSRCDIRBCK%"
+) else (
+ set "%_ROSSOURCEDIR%" == "%XY%"
+)
+goto :END
+
+:END