From cb93ded5c63f880049e747ea8020fd4e04e71297 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 14 Apr 2008 04:10:51 +0000 Subject: [PATCH] applied configuration path patch git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4697 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/yacy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/yacy.java b/source/yacy.java index 099fbed82..4d9adb176 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -225,13 +225,13 @@ public final class yacy { f.deleteOnExit(); pro = new File(homePath, "libx").exists(); - String oldconf = "DATA/SETTINGS/httpProxy.conf"; - String newconf = "DATA/SETTINGS/yacy.conf"; + String oldconf = "DATA/SETTINGS/httpProxy.conf".replace("/", File.separator); + String newconf = "DATA/SETTINGS/yacy.conf".replace("/", File.separator); File oldconffile = new File(homePath, oldconf); if (oldconffile.exists()) { oldconffile.renameTo(new File(homePath, newconf)); } - sb = new plasmaSwitchboard(homePath, "defaults/yacy.init", newconf, pro); + sb = new plasmaSwitchboard(homePath, "defaults/yacy.init".replace("/", File.separator), newconf, pro); sbSync.V(); // signal that the sb reference was set // save information about available memory at startup time