mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 22:35:43 +02:00
Bug 510394: set environment when doing project-less run
Change-Id: I7b82f99f88b9e4c5d2367dfdf98cb3952e6a89eb
This commit is contained in:
parent
b96dace616
commit
11de6abfaf
1 changed files with 2 additions and 3 deletions
|
@ -132,10 +132,9 @@ public class LocalRunLaunchDelegate extends AbstractCLaunchDelegate2 {
|
|||
}
|
||||
} else {
|
||||
projectName = projectName.trim();
|
||||
if (projectName.length() == 0) {
|
||||
return null;
|
||||
if (!projectName.isEmpty()) {
|
||||
project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
|
||||
}
|
||||
project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
|
||||
}
|
||||
|
||||
HashMap<String, String> envMap = new HashMap<String, String>();
|
||||
|
|
Loading…
Add table
Reference in a new issue