1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed msys search algorithm for Wascana.

This commit is contained in:
Doug Schaefer 2010-04-16 16:22:19 +00:00
parent 820ca5640d
commit c9e79b3d42

View file

@ -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;
}