Author: peterw
Date: Mon Oct 22 12:31:14 2007
New Revision: 29768
URL:
http://svn.reactos.org/svn/reactos?rev=29768&view=rev
Log:
- Move the definition of _ROSBE_PREVIOUSSOURCEDIR into chdefdir.cmd where it belongs.
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 12:31:14 2007
@@ -19,7 +19,6 @@
set _ROSBE_BASEDIR=%~dp0
for /f "usebackq" %%i in (`"echo
%_ROSBE_BASEDIR%|%_ROSBE_BASEDIR%Tools\sed s/.$//g"`) do set _ROSBE_BASEDIR=%%i
set _ROSBE_ROSSOURCEDIR=%CD%
-set _ROSBE_PREVIOUSSOURCEDIR=""
set _ROSBE_SHOWTIME=1
set _ROSBE_WRITELOG=1
set _ROSBE_USECCACHE=0
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 12:31:14 2007
@@ -15,6 +15,9 @@
:: Check if we already have a previous ReactOS source directory and
:: if we don't, save it.
::
+if not exist _ROSBE_PREVIOUSSOURCEDIR (
+ set _ROSBE_PREVIOUSSOURCEDIR=""
+)
if not %_ROSBE_PREVIOUSSOURCEDIR% == %_ROSBE_ROSSOURCEDIR% (
set _ROSBE_PREVIOUSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
)