Fix update return status
This commit is contained in:
parent
bb3f5e7250
commit
a5f5f63c27
|
@ -472,8 +472,12 @@ int cmCTest::UpdateDirectory()
|
||||||
<< "\t<BuildStamp>" << m_CurrentTag << "-Experimental</BuildStamp>\n"
|
<< "\t<BuildStamp>" << m_CurrentTag << "-Experimental</BuildStamp>\n"
|
||||||
<< "\t<StartDateTime>" << start_time << "</StartDateTime>\n"
|
<< "\t<StartDateTime>" << start_time << "</StartDateTime>\n"
|
||||||
<< "\t<UpdateCommand>" << command << "</UpdateCommand>\n"
|
<< "\t<UpdateCommand>" << command << "</UpdateCommand>\n"
|
||||||
<< "\t<UpdateReturnStatus>" << retVal
|
<< "\t<UpdateReturnStatus>";
|
||||||
<< "</UpdateReturnStatus>" << std::endl;
|
if ( retVal )
|
||||||
|
{
|
||||||
|
os << retVal;
|
||||||
|
}
|
||||||
|
os << "</UpdateReturnStatus>" << std::endl;
|
||||||
|
|
||||||
std::vector<cmStdString> lines;
|
std::vector<cmStdString> lines;
|
||||||
cmSystemTools::Split(output.c_str(), lines);
|
cmSystemTools::Split(output.c_str(), lines);
|
||||||
|
|
Loading…
Reference in New Issue