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.cm... ============================================================================== --- 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@freenet.de :: ::
Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?r... ============================================================================== --- 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