Merge topic 'cpack-ifw-fix-repo-attributes'

7a30fa1a CPackIFW: Fix attributes for Promoting Updates repository replacement
This commit is contained in:
Brad King 2016-07-06 09:35:19 -04:00 committed by CMake Topic Stage
commit 0219743a01
1 changed files with 2 additions and 2 deletions

View File

@ -299,8 +299,8 @@ void cmCPackIFWRepository::WriteRepositoryUpdate(cmXMLWriter& xout)
if (Update == Add || Update == Remove) {
xout.Attribute("url", Url);
} else if (Update == Replace) {
xout.Attribute("oldurl", OldUrl);
xout.Attribute("newurl", NewUrl);
xout.Attribute("oldUrl", OldUrl);
xout.Attribute("newUrl", NewUrl);
}
// Enabled
if (!Enabled.empty()) {