Author: dreimer Date: Sat Oct 20 18:50:27 2007 New Revision: 29712
URL: http://svn.reactos.org/svn/reactos?rev=29712&view=rev Log: Readd chdefdir due to popular Demand :-)
Added: trunk/tools/RosBE-Windows/Root/chdefdir.cmd (contents, props changed) - copied, changed from r27861, trunk/tools/RosBE-Windows/Root/chdefdir.cmd Modified: trunk/tools/RosBE-Windows/Root/Help.cmd trunk/tools/RosBE-Windows/Root/RosBE.mac
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?r... ============================================================================== --- trunk/tools/RosBE-Windows/Root/Help.cmd (original) +++ trunk/tools/RosBE-Windows/Root/Help.cmd Sat Oct 20 18:50:27 2007 @@ -27,6 +27,8 @@ echo. echo scut - Define, Remove, Switch and Default to Shortcutted echo Source-Directories. + echo chdefdir [OPTIONS] - Reconfigures the Default Source Folder for one + echo Session. echo config [OPTIONS] - Configures the way, ReactOS will be built. echo. echo clean [logs] - Fully clean the ReactOS source directory and/or @@ -64,6 +66,15 @@ echo Fully clean the ReactOS source directory. echo. echo logs - Removes all build logs in the RosBE-Logs directory. + goto :EOF +) +if "%1" == "chdefdir" ( + echo Usage: chdefdir [OPTIONS] + echo Reconfigures the Default Source Folder for one Session. Exiting + echo sets RosBE back to the Default. + echo. + echo default - Sets back to the Default Source Folder without a restart + echo of RosBE. goto :EOF ) if "%1" == "help" (
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 Sat Oct 20 18:50:27 2007 @@ -8,3 +8,4 @@ SCUT = "%_ROSBE_BASEDIR%\scut.cmd" $* SSVN = "%_ROSBE_BASEDIR%\sSVN.cmd" $* OPTIONS = "%_ROSBE_BASEDIR%\options.cmd" $* +CHDEFDIR = "%_ROSBE_BASEDIR%\chdefdir.cmd" $*
Copied: trunk/tools/RosBE-Windows/Root/chdefdir.cmd (from r27861, trunk/tools/RosBE-Windows/Root/chdefdir.cmd) URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/chdefdir.c... ============================================================================== --- trunk/tools/RosBE-Windows/Root/chdefdir.cmd (original) +++ trunk/tools/RosBE-Windows/Root/chdefdir.cmd Sat Oct 20 18:50:27 2007 @@ -1,40 +1,40 @@ -:: -:: 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@freenet.de -:: -:: -@echo off - -title Change the Default Dir... - -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 -title ReactOS Build Environment %_VER% -cd "%_ROSSOURCEDIR%" +:: +:: 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@freenet.de +:: +:: +@echo off + +title Change the Default Dir... + +if /I "%1"=="" ( + goto :DEF +) +if /I "%1"=="default" ( + set _ROSBE_ROSSOURCEDIR=%_ROSBE_ROSSOURCEDIR% +) else ( + set _ROSBE_ROSSOURCEDIR=%1 +) +goto :END + +:DEF + +echo Type 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 _ROSBE_ROSSOURCEDIR=%_ROSBE_ROSSOURCEDIR% +) else ( + set _ROSBE_ROSSOURCEDIR=%XY% +) +goto :END + +:END +title ReactOS Build Environment %_VER% +cd /D "%_ROSBE_ROSSOURCEDIR%"
Propchange: trunk/tools/RosBE-Windows/Root/chdefdir.cmd ------------------------------------------------------------------------------ svn:eol-style = native