diff options
-rw-r--r-- | bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java index 6a51e42bf..a63d6930e 100644 --- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java +++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java @@ -1354,10 +1354,15 @@ public class Main { // add the hash to help prevent collisions appName += File.separator + installDirHash; } + appName += '_' + OS_WS_ARCHToString(); String userHome = System.getProperty(PROP_USER_HOME); return new File(userHome, appName + "/" + pathAppendage).getAbsolutePath(); //$NON-NLS-1$ } + private String OS_WS_ARCHToString() { + return getOS() + '_' + getWS() + '_' + getArch(); + } + /** * Return hash code identifying an absolute installation path * @return hash code as String |