summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-24 17:54:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-05-24 17:54:03 (GMT)
commita98a699987dde6576399474a24bff42c4d1317ad (patch)
tree208544ef0e288afb3850ff28bb9f06473f519f55 /Source
parent384de98709ee6b8bf49c2d52b89d04d09a7c4b58 (diff)
parentadbd3985f89f19d9de867a75321465d6e181908d (diff)
downloadCMake-a98a699987dde6576399474a24bff42c4d1317ad.zip
CMake-a98a699987dde6576399474a24bff42c4d1317ad.tar.gz
CMake-a98a699987dde6576399474a24bff42c4d1317ad.tar.bz2
Merge topic 'cpack-deb-different-package-names'
adbd3985 CPack/Deb possibility to change package name
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index 7675677..7fd76df 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -57,8 +57,8 @@ int cmCPackDebGenerator::PackageOnePack(std::string initialTopLevel,
// Begin the archive for this pack
std::string localToplevel(initialTopLevel);
std::string packageFileName(cmSystemTools::GetParentDirectory(toplevel));
- std::string outputFileName(cmsys::SystemTools::LowerCase(std::string(
- this->GetOption("CPACK_PACKAGE_FILE_NAME"))) +
+ std::string outputFileName(std::string(
+ this->GetOption("CPACK_PACKAGE_FILE_NAME")) +
"-" + packageName + this->GetOutputExtension());
localToplevel += "/" + packageName;
@@ -174,8 +174,8 @@ int cmCPackDebGenerator::PackageComponentsAllInOne(
// The ALL GROUPS in ONE package case
std::string localToplevel(initialTopLevel);
std::string packageFileName(cmSystemTools::GetParentDirectory(toplevel));
- std::string outputFileName(cmsys::SystemTools::LowerCase(std::string(
- this->GetOption("CPACK_PACKAGE_FILE_NAME"))) +
+ std::string outputFileName(std::string(
+ this->GetOption("CPACK_PACKAGE_FILE_NAME")) +
this->GetOutputExtension());
// all GROUP in one vs all COMPONENT in one
localToplevel += "/" + compInstDirName;