mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[Bug 460131] Eclipse bin dir prepended to cross tool path
java.io.File is used to store the path to the cross tools. getAbsolutePath is invoked before variables are expanded. Hence File cannot see the path is already absolute and therefore prepends CWD. Reverted to getPath, since conversion to full path would not make sense anyway. Change-Id: I13e5b2c0d7747741926a88e120d13003b910e8c6 Signed-off-by: Morten Kristiansen <millibit@gmail.com>
This commit is contained in:
parent
9c05b3506a
commit
f680519739
1 changed files with 1 additions and 1 deletions
2
cross/org.eclipse.cdt.build.crossgcc/src/org/eclipse/cdt/internal/build/crossgcc/CrossEnvironmentVariableSupplier.java
Executable file → Normal file
2
cross/org.eclipse.cdt.build.crossgcc/src/org/eclipse/cdt/internal/build/crossgcc/CrossEnvironmentVariableSupplier.java
Executable file → Normal file
|
@ -78,7 +78,7 @@ public class CrossEnvironmentVariableSupplier implements
|
|||
}
|
||||
|
||||
public String getValue() {
|
||||
return path.getAbsolutePath();
|
||||
return path.getPath();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue