diff options
author | Brad King <brad.king@kitware.com> | 2009-12-18 15:54:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-12-18 15:54:24 (GMT) |
commit | a4cdd73636041f032597f12a96f74cd277e6f791 (patch) | |
tree | 1ab53d6fd971342f6c0cad79f24815e1f838ccc3 /Source/CTest/cmCTestUpdateHandler.cxx | |
parent | 4ce7ffbfc545fe92cfecc4cd46b73b17b9eb6ad2 (diff) | |
download | CMake-a4cdd73636041f032597f12a96f74cd277e6f791.zip CMake-a4cdd73636041f032597f12a96f74cd277e6f791.tar.gz CMake-a4cdd73636041f032597f12a96f74cd277e6f791.tar.bz2 |
Use literal quotes in Update.xml UpdateCommand
Previously we escaped quotes in <UpdateCommand>...</UpdateCommand>
values using '"'. This is not necessary because the value is in
xml CDATA and not an xml attribute.
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 4111357..f87b37c 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -258,7 +258,8 @@ int cmCTestUpdateHandler::ProcessHandler() << this->CTest->GetTestModelString() << "</BuildStamp>" << std::endl; os << "\t<StartDateTime>" << start_time << "</StartDateTime>\n" << "\t<StartTime>" << start_time_time << "</StartTime>\n" - << "\t<UpdateCommand>" << cmXMLSafe(vc->GetUpdateCommandLine()) + << "\t<UpdateCommand>" + << cmXMLSafe(vc->GetUpdateCommandLine()).Quotes(false) << "</UpdateCommand>\n" << "\t<UpdateType>" << cmXMLSafe( cmCTestUpdateHandlerUpdateToString(this->UpdateType)) |