mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 360846: Extra space in build command
This commit is contained in:
parent
58e5dd61e0
commit
04d4f11b53
1 changed files with 5 additions and 0 deletions
|
@ -1057,6 +1057,11 @@ public class Builder extends HoldsOptions implements IBuilder, IMatchKeyProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
private String addCmd(String args, String cmd){
|
private String addCmd(String args, String cmd){
|
||||||
|
// Don't modify the args parameter if the cmd to add is emtpy.
|
||||||
|
// Bug 360846
|
||||||
|
if(cmd.length() == 0)
|
||||||
|
return args;
|
||||||
|
|
||||||
if(getCmdIndex(args, cmd) == -1){
|
if(getCmdIndex(args, cmd) == -1){
|
||||||
if(args.length() != 0){
|
if(args.length() != 0){
|
||||||
args += ' ';
|
args += ' ';
|
||||||
|
|
Loading…
Add table
Reference in a new issue