[ros-diffs] [peterw] 30175: - Add the last bit to scut.cmd, should behave properly now.

peterw at svn.reactos.org peterw at svn.reactos.org
Mon Nov 5 14:50:23 CET 2007


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?rev=30175&r1=30174&r2=30175&view=diff
==============================================================================
--- 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




More information about the Ros-diffs mailing list