Author: peterw
Date: Tue Oct 23 06:44:23 2007
New Revision: 29810
URL: http://svn.reactos.org/svn/reactos?rev=29810&view=rev
Log:
- Remove the dependency on cut from sSVN.cmd.
Modified:
trunk/tools/RosBE-Windows/Root/sSVN.cmd
Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/sSVN.cmd Tue Oct 23 06:44:23 2007
@@ -56,8 +56,8 @@
::
if "%1" == "status" (
title Status
- for /f "usebackq" %%i in (`"svn info | find "Revision:" | cut -d " " -f 2"`) do set OFFSVN=%%i
- for /f "usebackq" %%j in (`"svn info svn://svn.reactos.org/reactos/trunk/reactos | find "Revision:" | cut -d " " -f 2"`) do set ONSVN=%%j
+ for /f "usebackq tokens=2" %%i in (`"svn info | find "Revision:""`) do set OFFSVN=%%i
+ for /f "usebackq tokens=2" %%j in (`"svn info svn://svn.reactos.org/reactos/trunk/reactos | find "Revision:""`) do set ONSVN=%%j
call :UP
goto :ExitSVN
)
Author: dreimer
Date: Tue Oct 23 05:38:27 2007
New Revision: 29807
URL: http://svn.reactos.org/svn/reactos?rev=29807&view=rev
Log:
Get rid of svnversion.exe and its need in ssvn.cmd.
Now we call cut two times, but there seems to be NO way to get around it. If you try to do it without cut, then it wont load anything useful into the Variables, because the Variables are filled even before svn outputs anything. I even tried "cmd /V:ON /K" no way...
Modified:
trunk/tools/RosBE-Windows/Root/options.cmd
trunk/tools/RosBE-Windows/Root/sSVN.cmd
Modified: trunk/tools/RosBE-Windows/Root/options.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/options.c…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/options.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/options.cmd Tue Oct 23 05:38:27 2007
@@ -2,7 +2,7 @@
:: PROJECT: RosBE - ReactOS Build Environment for Windows
:: LICENSE: GPL - See LICENSE.txt in the top level directory.
:: FILE: Root/options.cmd
-:: PURPOSE: Starts options.exe and reboots RosBE at the End.
+:: PURPOSE: Starts options.exe and restarts RosBE afterwards.
:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
::
::
Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/sSVN.cmd Tue Oct 23 05:38:27 2007
@@ -56,7 +56,7 @@
::
if "%1" == "status" (
title Status
- for /f "usebackq" %%i in (`svnversion .`) do set OFFSVN=%%i
+ for /f "usebackq" %%i in (`"svn info | find "Revision:" | cut -d " " -f 2"`) do set OFFSVN=%%i
for /f "usebackq" %%j in (`"svn info svn://svn.reactos.org/reactos/trunk/reactos | find "Revision:" | cut -d " " -f 2"`) do set ONSVN=%%j
call :UP
goto :ExitSVN