mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removed the PWD and CWD env vars from build. They were screwing up libtool under msys (pwd returned the env vars which had Windows \'ed paths). These shouldn't be needed.
This commit is contained in:
parent
1198b54575
commit
c5adedd369
1 changed files with 1 additions and 3 deletions
|
@ -160,13 +160,11 @@ public class MakeBuilder extends ACBuilder {
|
|||
// Print the command for visual interaction.
|
||||
launcher.showCommand(true);
|
||||
|
||||
// Set the environmennt, some scripts may need the CWD var to be set.
|
||||
// Set the environment
|
||||
HashMap envMap = new HashMap();
|
||||
if (info.appendEnvironment()) {
|
||||
envMap.putAll(launcher.getEnvironment());
|
||||
}
|
||||
envMap.put("CWD", workingDirectory.toOSString()); //$NON-NLS-1$
|
||||
envMap.put("PWD", workingDirectory.toOSString()); //$NON-NLS-1$
|
||||
// Add variables from build info
|
||||
envMap.putAll(info.getExpandedEnvironment());
|
||||
Iterator iter = envMap.entrySet().iterator();
|
||||
|
|
Loading…
Add table
Reference in a new issue