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:
parent
4e9506ac31
commit
b22fcfb0c5
|
@ -491,7 +491,7 @@ int cmCPackDebGenerator::createDeb()
|
|||
{
|
||||
std::string filenamename =
|
||||
cmsys::SystemTools::GetFilenameName(i->c_str());
|
||||
std::string localcopy = toplevel;
|
||||
std::string localcopy = this->GetOption("WDIR");
|
||||
localcopy += "/";
|
||||
localcopy += filenamename;
|
||||
// if we can copy the file, it means it does exist, let's add it:
|
||||
|
|
Loading…
Reference in New Issue