Author: peterw
Date: Mon Oct 22 01:06:49 2007
New Revision: 29754
URL:
http://svn.reactos.org/svn/reactos?rev=29754&view=rev
Log:
- Small chdefdir cleanup and change _VER to _ROSBE_VERSION.
Modified:
trunk/tools/RosBE-Windows/Root/chdefdir.cmd
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 01:06:49 2007
@@ -10,25 +10,24 @@
title Change the Default Dir...
-if /I "%1"=="" (
- goto :DEF
+if /i "%1" == "" (
+ goto :INTERACTIVE
)
-if /I "%1"=="default" (
+if /i "%1" == "default" (
set _ROSBE_ROSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
) else (
set _ROSBE_ROSSOURCEDIR=%1
)
goto :END
-:DEF
+:INTERACTIVE
+echo Type in a Path to use RosBE in or "default" to revert to Default Dir:
+set /p XY=
-echo Type in a Path to use RosBE in or "default" to revert to Default Dir:
-SET /P XY=
-
-if /I "%XY%"=="" (
+if /i "%XY%" == "" (
goto :END
)
-if /I "%XY%"=="default" (
+if /i "%XY%"=="default" (
set _ROSBE_ROSSOURCEDIR=%_ROSBE_ROSSOURCEDIR%
) else (
set _ROSBE_ROSSOURCEDIR=%XY%
@@ -36,5 +35,5 @@
goto :END
:END
-title ReactOS Build Environment %_VER%
-cd /D "%_ROSBE_ROSSOURCEDIR%"
+title ReactOS Build Environment %_ROSBE_VERSION%
+cd /d "%_ROSBE_ROSSOURCEDIR%"