Author: nextgens
Date: 2008-06-01 12:07:41 +0000 (Sun, 01 Jun 2008)
New Revision: 20176

Modified:
   trunk/apps/new_installer/scripts/update.cmd
Log:
new_installer: make update.cmd use the SSL certificate if possible (should be 
compatible with old versions too as they will ignore the parameter)

Modified: trunk/apps/new_installer/scripts/update.cmd
===================================================================
--- trunk/apps/new_installer/scripts/update.cmd 2008-06-01 11:52:41 UTC (rev 
20175)
+++ trunk/apps/new_installer/scripts/update.cmd 2008-06-01 12:07:41 UTC (rev 
20176)
@@ -36,6 +36,7 @@

 ::Initialize some stuff
 set MAGICSTRING=INDO
+set CAFILE=startssl.pem
 set RESTART=0
 set PATH=%SYSTEMROOT%\System32\;%PATH%
 set RELEASE=stable
@@ -166,7 +167,7 @@
 if not exist freenet-%RELEASE%-latest.jar goto error4
 FOR %%I IN ("%LOCATION%freenet-%RELEASE%-latest.jar") DO if %%~zI==0 goto 
error4
 ::Test the new jar file for integrity.
-java -cp lib\sha1test.jar Sha1Test freenet-%RELEASE%-latest.jar > NUL
+java -cp lib\sha1test.jar Sha1Test freenet-%RELEASE%-latest.jar . %CAFILE% > 
NUL
 if not errorlevel 0 goto error4
 ::Everything looks good, lets install it
 copy freenet-%RELEASE%-latest.jar freenet.jar > NUL


Reply via email to