Author: nextgens
Date: 2006-07-21 13:22:04 +0000 (Fri, 21 Jul 2006)
New Revision: 9693

Modified:
   trunk/freenet/src/freenet/node/updater/NodeUpdater.java
Log:
maybe fix the node-updater on windows

Modified: trunk/freenet/src/freenet/node/updater/NodeUpdater.java
===================================================================
--- trunk/freenet/src/freenet/node/updater/NodeUpdater.java     2006-07-21 
11:41:24 UTC (rev 9692)
+++ trunk/freenet/src/freenet/node/updater/NodeUpdater.java     2006-07-21 
13:22:04 UTC (rev 9693)
@@ -207,10 +207,8 @@
                        File fNew = new File("freenet-cvs-snapshot.jar.new");

                        boolean nastyRestart = false;
-
-                       if(File.separatorChar == '\\') {
-                               // Do nothing.
-                       } else {
+                       
+                       if((File.separatorChar == '\\') || 
(System.getProperty("os.name").toLowerCase().startsWith("win"))){
                                nastyRestart = true;
                                Properties p = WrapperManager.getProperties();
                                String cp1 = 
p.getProperty("wrapper.java.classpath.1");


Reply via email to