Fix update return status

This commit is contained in:
Andy Cedilnik 2003-02-07 11:03:00 -05:00
parent bb3f5e7250
commit a5f5f63c27
1 changed files with 6 additions and 2 deletions

View File

@ -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);