* Eepsite:
- Quote the jetty.xml path in clients.config, and adjust the migration function, to fix the eepsite-won't-start bug on windows
This commit is contained in:
@ -195,8 +195,10 @@ public class WorkingDir {
|
||||
out.println("# Modified by I2P User dir migration script");
|
||||
String s = null;
|
||||
while ((s = DataHelper.readLine(in)) != null) {
|
||||
if (s.endsWith("=eepsite/jetty.xml")) {
|
||||
s = s.replace("=eepsite", '=' + todir.getAbsolutePath() + File.separatorChar + "eepsite");
|
||||
if (s.endsWith("=\"eepsite/jetty.xml\"")) {
|
||||
s = s.replace("=\"eepsite/jetty.xml\"", "=\"" + todir.getAbsolutePath() +
|
||||
File.separatorChar + "eepsite" +
|
||||
File.separatorChar + "jetty.xml\"");
|
||||
}
|
||||
out.println(s);
|
||||
}
|
||||
|
Reference in New Issue
Block a user