Author: dreimer
Date: Sat Feb 2 16:03:35 2008
New Revision: 32088
URL:
http://svn.reactos.org/svn/reactos?rev=32088&view=rev
Log:
Commit a possibility to disable all @echo off with one variable: "_ROSBE_DEBUG"
I use this a while already and think its a nice thing to find errors when playing around
on the cmd files.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd
trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd
trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd
trunk/tools/RosBE/RosBE-Windows/Root/chdefdir.cmd
trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
trunk/tools/RosBE/RosBE-Windows/Root/options.cmd
trunk/tools/RosBE/RosBE-Windows/Root/reladdr2line.cmd
trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd
trunk/tools/RosBE/RosBE-Windows/Root/scut.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Bui…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd Sat Feb 2 16:03:35 2008
@@ -8,7 +8,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
::
:: Check if config.template.rbuild is newer than config.rbuild, if it is then
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cle…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd Sat Feb 2 16:03:35 2008
@@ -7,7 +7,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
title Cleaning...
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Con…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Config.cmd Sat Feb 2 16:03:35 2008
@@ -6,7 +6,11 @@
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
title ReactOS Build Configurator
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Hel…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd Sat Feb 2 16:03:35 2008
@@ -7,7 +7,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
::
:: Check if we are displaying help on all commands, if so, display it.
Modified: trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Min…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd Sat Feb 2 16:03:35 2008
@@ -7,7 +7,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
if not "%1" == "" (
cls
Modified: trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd Sat Feb 2 16:03:35 2008
@@ -8,7 +8,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
::
:: Set defaults to work with and override them if edited by
Modified: trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Tim…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/TimeDate.cmd Sat Feb 2 16:03:35 2008
@@ -7,7 +7,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
::
:: Clear variables before use.
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefdir.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/chd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/chdefdir.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/chdefdir.cmd Sat Feb 2 16:03:35 2008
@@ -8,7 +8,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
title Change the current working ReactOS source directory...
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/chd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd Sat Feb 2 16:03:35 2008
@@ -6,7 +6,11 @@
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
:: Peter Ward <dralnix(a)gmail.com>
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
if "%_ROSBE_MODE%" == "RosBE" (
title Change the current MinGW/GCC directory...
Modified: trunk/tools/RosBE/RosBE-Windows/Root/options.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/opt…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/options.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/options.cmd Sat Feb 2 16:03:35 2008
@@ -6,7 +6,11 @@
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
title Options
Modified: trunk/tools/RosBE/RosBE-Windows/Root/reladdr2line.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/rel…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/reladdr2line.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/reladdr2line.cmd Sat Feb 2 16:03:35 2008
@@ -8,7 +8,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
title reladdr2line...
Modified: trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd Sat Feb 2 16:03:35 2008
@@ -7,7 +7,11 @@
:: Peter Ward <dralnix(a)gmail.com>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
::
:: Check if we are running within the RosBE, and if not
Modified: trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/sSV…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd Sat Feb 2 16:03:35 2008
@@ -6,7 +6,11 @@
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
::
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
::
:: Receive the first parameter and decide what to do.
Modified: trunk/tools/RosBE/RosBE-Windows/Root/scut.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/scu…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/scut.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/scut.cmd Sat Feb 2 16:03:35 2008
@@ -7,7 +7,11 @@
:: Daniel Reimer <reimer.daniel(a)freenet.de>
:: Peter Ward <dralnix(a)gmail.com>
::
-@echo off
+
+if not defined _ROSBE_DEBUG set _ROSBE_DEBUG=0
+if %_ROSBE_DEBUG% == 0 (
+ @echo off
+)
:: Check if the parameter is an scut parameter, which can just be forwarded to the EXE
file
if /i "%1" == "add" goto paramcall