Author: peterw
Date: Mon Nov 5 16:50:23 2007
New Revision: 30175
URL:
http://svn.reactos.org/svn/reactos?rev=30175&view=rev
Log:
- Add the last bit to scut.cmd, should behave properly now.
Modified:
trunk/tools/RosBE-Windows/Root/scut.cmd
Modified: trunk/tools/RosBE-Windows/Root/scut.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/scut.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/scut.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/scut.cmd Mon Nov 5 16:50:23 2007
@@ -37,11 +37,25 @@
call "%_ROSBE_BASEDIR%\Tools\scut.exe" %*
goto :EOC
)
+if /i "%1" == "/?" (
+ "%_ROSBE_BASEDIR%\Tools\scut.exe" %*
+ goto :EOC
+)
+if /i "%1" == "-h" (
+ call "%_ROSBE_BASEDIR%\Tools\scut.exe" %*
+ goto :EOC
+)
+if /i "%1" == "--help" (
+ call "%_ROSBE_BASEDIR%\Tools\scut.exe" %*
+ goto :EOC
+)
if not "%1" == "" (
for /f "usebackq tokens=*" %%i in
(`""%_ROSBE_BASEDIR%\Tools\scut.exe" %*"`) do (
if /i not "%%i" == "Default" (
- cd /d %%i
- set _ROSBE_ROSSOURCEDIR=%%i
+ if exist "%%i\." (
+ cd /d %%i
+ set _ROSBE_ROSSOURCEDIR=%%i
+ )
)
)
goto :EOC