Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2010-04-16 16:22:19 +0000
committerDoug Schaefer2010-04-16 16:22:19 +0000
commitc9e79b3d4285c0f3cd30d179215cb94c74070ebc (patch)
tree7ee4e0def1c48c8209d871e06bfc4702276d6e53 /build/org.eclipse.cdt.managedbuilder.gnu.ui/src
parent820ca5640d009d249e8617783a8c629c70470821 (diff)
downloadorg.eclipse.cdt-c9e79b3d4285c0f3cd30d179215cb94c74070ebc.tar.gz
org.eclipse.cdt-c9e79b3d4285c0f3cd30d179215cb94c74070ebc.tar.xz
org.eclipse.cdt-c9e79b3d4285c0f3cd30d179215cb94c74070ebc.zip
Fixed msys search algorithm for Wascana.
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.gnu.ui/src')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/mingw/MingwEnvironmentVariableSupplier.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/mingw/MingwEnvironmentVariableSupplier.java b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/mingw/MingwEnvironmentVariableSupplier.java
index 20551663c52..c42d1100706 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/mingw/MingwEnvironmentVariableSupplier.java
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/src/org/eclipse/cdt/managedbuilder/gnu/mingw/MingwEnvironmentVariableSupplier.java
@@ -130,7 +130,7 @@ public class MingwEnvironmentVariableSupplier implements
public static IPath getMsysBinDir() {
// Just look in the install location parent dir
- IPath installPath = new Path(Platform.getInstallLocation().getURL().getFile()).removeLastSegments(1);
+ IPath installPath = new Path(Platform.getInstallLocation().getURL().getFile());
IPath msysBinPath = installPath.append("msys\\bin"); //$NON-NLS-1$
return msysBinPath.toFile().isDirectory() ? msysBinPath : null;
}

Back to the top