diff options
author | Brad King <brad.king@kitware.com> | 2010-08-03 20:12:18 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2010-08-03 20:12:18 (GMT) |
commit | d00d71e6cf3ed5f2e24e4351e141b04212cca903 (patch) | |
tree | aeab88f021be3a161156570e56093cfa9bdc4d9d | |
parent | 68efc3ef8687ee3a09e86a3d124a710668083246 (diff) | |
parent | 5495a6d9756099d5eddfc99c938ab6ba9bd95113 (diff) | |
download | CMake-d00d71e6cf3ed5f2e24e4351e141b04212cca903.zip CMake-d00d71e6cf3ed5f2e24e4351e141b04212cca903.tar.gz CMake-d00d71e6cf3ed5f2e24e4351e141b04212cca903.tar.bz2 |
Merge topic 'CPackDEB-wrong-install-size'
5495a6d CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index cee24ef..5c09d31 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -121,7 +121,7 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName, totalSize += cmSystemTools::FileLength(fileIt->c_str()); } } - out << "Installed-Size: " << totalSize << "\n"; + out << "Installed-Size: " << (totalSize + 1023) / 1024 << "\n"; out << "Maintainer: " << maintainer << "\n"; out << "Description: " << desc << "\n"; out << std::endl; |