diff options
author | Martin Konrad <konrad@ikp.tu-darmstadt.de> | 2011-04-09 07:30:19 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2011-04-09 07:30:19 (GMT) |
commit | b22fcfb0c55ec145a4cf7405120c708fa136d928 (patch) | |
tree | 6b325d80c343dfe623a9621defd57ccc731cf0f2 /Source | |
parent | 4e9506ac31705f5099f226128b98ae12a4ba9772 (diff) | |
download | CMake-b22fcfb0c55ec145a4cf7405120c708fa136d928.zip CMake-b22fcfb0c55ec145a4cf7405120c708fa136d928.tar.gz CMake-b22fcfb0c55ec145a4cf7405120c708fa136d928.tar.bz2 |
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>
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index 5665404..8c19bbd 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -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: |