Merge topic 'CPackDeb-fix12061'
b22fcfb CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging components
This commit is contained in:
commit
bf4349b23c
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user