Merge topic 'cpack-ifw-fix-repo-attributes'
7a30fa1a
CPackIFW: Fix attributes for Promoting Updates repository replacement
This commit is contained in:
commit
0219743a01
|
@ -299,8 +299,8 @@ void cmCPackIFWRepository::WriteRepositoryUpdate(cmXMLWriter& xout)
|
||||||
if (Update == Add || Update == Remove) {
|
if (Update == Add || Update == Remove) {
|
||||||
xout.Attribute("url", Url);
|
xout.Attribute("url", Url);
|
||||||
} else if (Update == Replace) {
|
} else if (Update == Replace) {
|
||||||
xout.Attribute("oldurl", OldUrl);
|
xout.Attribute("oldUrl", OldUrl);
|
||||||
xout.Attribute("newurl", NewUrl);
|
xout.Attribute("newUrl", NewUrl);
|
||||||
}
|
}
|
||||||
// Enabled
|
// Enabled
|
||||||
if (!Enabled.empty()) {
|
if (!Enabled.empty()) {
|
||||||
|
|
Loading…
Reference in New Issue