Merge topic 'CPackDeb-fix12061'

b22fcfb CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging components
This commit is contained in:
Brad King 2011-04-12 14:44:22 -04:00 committed by CMake Topic Stage
commit bf4349b23c
1 changed files with 1 additions and 1 deletions

View File

@ -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: