BUG: fix broken command
This commit is contained in:
parent
aabd048825
commit
0a29ebad97
@ -51,10 +51,10 @@ bool cmRemoveCommand::InitialPass(std::vector<std::string> const& args)
|
|||||||
|
|
||||||
// now create the new value
|
// now create the new value
|
||||||
std::string value;
|
std::string value;
|
||||||
for(unsigned int j = 1; j < varArgsExpanded.size(); ++j)
|
for(unsigned int j = 0; j < varArgsExpanded.size(); ++j)
|
||||||
{
|
{
|
||||||
int found = 0;
|
int found = 0;
|
||||||
for(unsigned int k = 1; k < argsExpanded.size(); ++k)
|
for(unsigned int k = 0; k < argsExpanded.size(); ++k)
|
||||||
{
|
{
|
||||||
if (varArgsExpanded[j] == argsExpanded[k])
|
if (varArgsExpanded[j] == argsExpanded[k])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user