mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-27 09:00:16 -06:00
CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging components
Copy the files specified in CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA to the right directory when packaging components. This fixes #12061. Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
This commit is contained in:
committed by
Eric NOULARD
parent
4e9506ac31
commit
b22fcfb0c5
@@ -491,7 +491,7 @@ int cmCPackDebGenerator::createDeb()
|
|||||||
{
|
{
|
||||||
std::string filenamename =
|
std::string filenamename =
|
||||||
cmsys::SystemTools::GetFilenameName(i->c_str());
|
cmsys::SystemTools::GetFilenameName(i->c_str());
|
||||||
std::string localcopy = toplevel;
|
std::string localcopy = this->GetOption("WDIR");
|
||||||
localcopy += "/";
|
localcopy += "/";
|
||||||
localcopy += filenamename;
|
localcopy += filenamename;
|
||||||
// if we can copy the file, it means it does exist, let's add it:
|
// if we can copy the file, it means it does exist, let's add it:
|
||||||
|
|||||||
Reference in New Issue
Block a user