BUG: Backing out previous change until a deeper problem can be investigated.
This commit is contained in:
parent
cc3887c462
commit
fc689df5d9
@ -67,19 +67,18 @@ void cmAddTestCommand::FinalPass()
|
|||||||
++it;
|
++it;
|
||||||
for (; it != m_Args.end(); ++it)
|
for (; it != m_Args.end(); ++it)
|
||||||
{
|
{
|
||||||
if((it->find(" ") != std::string::npos) &&
|
if(it->find(" ") != std::string::npos)
|
||||||
(*it->begin() != '"' || *(it->end()-1) != '"'))
|
{
|
||||||
{
|
fout << " \"" << *it << "\"";
|
||||||
fout << " \"" << *it << "\"";
|
}
|
||||||
}
|
else
|
||||||
else
|
{
|
||||||
{
|
fout << " " << *it;
|
||||||
fout << " " << *it;
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
fout << ")" << std::endl;
|
fout << ")" << std::endl;
|
||||||
fout.close();
|
fout.close();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user