Author: dreimer
Date: Mon Aug 25 14:21:51 2008
New Revision: 35640
URL:
http://svn.reactos.org/svn/reactos?rev=35640&view=rev
Log:
Small Comment fixes. This should already work now. I just need a final server to upload
it.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/update.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/update.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/upd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/update.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/update.cmd [iso-8859-1] Mon Aug 25 14:21:51 2008
@@ -8,14 +8,14 @@
::
@echo off
-:: The Update Server
+:: The Update Server.
set _ROSBE_URL=www.foo.bar
:: First check for a new Updater
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/update.cmd
"%_ROSBE_BASEDIR%\update.cmd"
-:: PS1 Files
+:: PS1 Files.
if exist "%_ROSBE_BASEDIR%\Build.ps1" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/Build.ps1
)
@@ -35,27 +35,27 @@
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/rosbe-gcc-env.ps1
)
-:: Options Files
+:: Options Files.
if exist "%_ROSBE_BASEDIR%\options.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/options.cmd
)
-:: SVN Files
+:: SVN Files.
if exist "%_ROSBE_BASEDIR%\sSVN.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/sSVN.cmd
)
-:: SCut Files
+:: SCut Files.
if exist "%_ROSBE_BASEDIR%\scut.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/scut.cmd
)
-:: RelAddr2Line Files
+:: RelAddr2Line Files.
if exist "%_ROSBE_BASEDIR%\reladdr2line.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/reladdr2line.cmd
)
-:: Other Tools Files
+:: Other Tools Files.
if exist "%_ROSBE_BASEDIR%\Config.cmd" (
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/Config.cmd
)
@@ -63,6 +63,7 @@
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/chdefdir.cmd
)
+:: Default Files.
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/Build.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/ChangeLog.txt
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/chdefgcc.cmd
@@ -79,7 +80,7 @@
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/rosbe-gcc-env.cmd
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/TimeDate.cmd
-:: Load GCC and Tool SRC packages
+:: Add Dates into Vars and load GCC and Tool SRC packages if needed.
if exist GCC.7z (
for /f "usebackq" %%i in (`"forfiles /M GCC.7z /C "cmd /c echo
@fdate""`) do set _ROSBE_GCCDATE=%%i
)
@@ -90,10 +91,11 @@
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/GCC.7z
"%_ROSBE_BASEDIR%\Tools\wget.exe" -N %_ROSBE_URL%/Tools.7z
+:: Add the maybe Updated Dates to another Var.
for /f "usebackq" %%i in (`"forfiles /M GCC.7z /C "cmd /c echo
@fdate""`) do set _ROSBE_GCCDATE2=%%i
for /f "usebackq" %%i in (`"forfiles /M Tools.7z /C "cmd /c echo
@fdate""`) do set _ROSBE_TOOLSDATE2=%%i
-:: Extract GCC
+:: Extract GCC.
if %_ROSBE_GCCDATE% NEQ %_ROSBE_GCCDATE2% (
"%_ROSBE_BASEDIR%\Tools\7z.exe" x GCC.7z
"%_ROSBE_BASEDIR%\4.1.3"
)
@@ -104,7 +106,7 @@
copy %TEMP%\*.exe "%_ROSBE_BASEDIR%\Tools"
)
-:: Unload Vars
+:: Unload Vars.
set _ROSBE_URL=
set _ROSBE_GCCDATE=
set _ROSBE_TOOLSDATE=