Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2021-07-03 15:32:20 +0000
committerEd Merks2021-07-03 15:40:12 +0000
commitcba441f390bf301d4ac78955a23dfad0df0d8360 (patch)
tree1fdf977937313328b27a40ca4c9d48b1d093a6aa
parent6bbe55169482d5ad66a57a0e14d974aeda314a27 (diff)
downloadrt.equinox.p2-cba441f390bf301d4ac78955a23dfad0df0d8360.tar.gz
rt.equinox.p2-cba441f390bf301d4ac78955a23dfad0df0d8360.tar.xz
rt.equinox.p2-cba441f390bf301d4ac78955a23dfad0df0d8360.zip
Fix regression in getOSGiInstallArea for @launcher.dir replacement. Change-Id: Ie695ecb173d8421c760a907af25934cd6e43b2b2 Signed-off-by: Ed Merks <ed.merks@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/182738
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java
index cbe533aa9..a0a72fb01 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin.equinox/src/org/eclipse/equinox/internal/frameworkadmin/equinox/ParserUtils.java
@@ -96,7 +96,7 @@ public class ParserUtils {
if (install.startsWith(FILE_PROTOCOL))
install = install.substring(FILE_PROTOCOL.length() + 1);
if (install.startsWith(LAUNCHER_DIR))
- install = install.replaceAll(LAUNCHER_DIR, launcherFile.getParent().toString());
+ install = install.replace(LAUNCHER_DIR, launcherFile.getParent().toString());
File installFile = new File(install);
if (installFile.isAbsolute())
return installFile;

Back to the top