mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03: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:
1 parent
7dbffb3aa1
commit
865f0032eb
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user