mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 11:04:33 +00:00
CPack/DEB: Remove extra newline at the end of .deb control file
It effectively created a control file with two stanzas when package file data is appended, one of which lacks required parameters, making this package impossible to use in a package repository. Fixes: #26975
This commit is contained in:
parent
7dbffb3aa1
commit
865f0032eb
@ -176,7 +176,7 @@ void DebGenerator::generateControlFile() const
|
||||
totalSize += cmSystemTools::FileLength(file);
|
||||
}
|
||||
}
|
||||
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n\n";
|
||||
out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n";
|
||||
}
|
||||
|
||||
bool DebGenerator::generateDataTar() const
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user