Fixed cross-platform issue
diff --git a/bundles/org.eclipse.e4.enterprise.installer/src/org/eclipse/e4/enterprise/installer/BundleUpdaterConfig.java b/bundles/org.eclipse.e4.enterprise.installer/src/org/eclipse/e4/enterprise/installer/BundleUpdaterConfig.java index d756af0..06b4e46 100644 --- a/bundles/org.eclipse.e4.enterprise.installer/src/org/eclipse/e4/enterprise/installer/BundleUpdaterConfig.java +++ b/bundles/org.eclipse.e4.enterprise.installer/src/org/eclipse/e4/enterprise/installer/BundleUpdaterConfig.java
@@ -131,12 +131,14 @@ if (defaultDownloadRoot == null) { // turns the platform installation directory in to an absolute // path - String installDir = Platform.getInstallLocation().getURL().getPath(); - // strip out any leading / as this (wrongly) turns this absolute - // path in to a relative one - if (installDir.startsWith("/")) { - installDir = installDir.substring(1); - } + String installDir = Platform.getInstallLocation().getURL().getPath(); + + // FIXME: Breaks Linux +// // strip out any leading / as this (wrongly) turns this absolute +// // path in to a relative one +// if (installDir.startsWith("/")) { +// installDir = installDir.substring(1); +// } defaultDownloadRoot = new File(installDir + "/DownloadRoot"); defaultDownloadRoot.mkdir(); }