mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 02:05:39 +02:00
fixed build command not updating
This commit is contained in:
parent
cad6860ec1
commit
a5b6d849f2
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ public class MakeProjectNature implements IProjectNature {
|
||||||
newCommands[0] = newCommand;
|
newCommands[0] = newCommand;
|
||||||
} else {
|
} else {
|
||||||
for (int i = 0, max = oldCommands.length; i < max; i++) {
|
for (int i = 0, max = oldCommands.length; i < max; i++) {
|
||||||
if (oldCommands[i] == oldCommand) {
|
if (oldCommands[i].getBuilderName().equals(oldCommand.getBuilderName())) {
|
||||||
oldCommands[i] = newCommand;
|
oldCommands[i] = newCommand;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue