BUG: fix failing test
This commit is contained in:
parent
fd0e8b3a56
commit
afdc33dbb8
|
@ -259,11 +259,12 @@ bool cmListCommand::HandleAppendCommand(std::vector<std::string> const& args)
|
||||||
std::string listString;
|
std::string listString;
|
||||||
this->GetListString(listString, listName.c_str());
|
this->GetListString(listString, listName.c_str());
|
||||||
size_t cc;
|
size_t cc;
|
||||||
const char* sep = "";
|
|
||||||
for ( cc = 2; cc < args.size(); ++ cc )
|
for ( cc = 2; cc < args.size(); ++ cc )
|
||||||
{
|
{
|
||||||
listString += sep;
|
if(listString.size())
|
||||||
sep = ";";
|
{
|
||||||
|
listString += ";";
|
||||||
|
}
|
||||||
listString += args[cc];
|
listString += args[cc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue