summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2015-03-25 16:38:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2015-03-25 16:38:37 (GMT)
commita4a1b729c63ec81037af06ac1009d12cc1dc3188 (patch)
tree3b96b876cb9d9ddc9d2fd3b0a8c339fa49cbc5a8 /Source/CPack/cmCPackDebGenerator.cxx
parent51b4321e5fdf9f7cbc54881037a45a474883ef47 (diff)
downloadCMake-a4a1b729c63ec81037af06ac1009d12cc1dc3188.zip
CMake-a4a1b729c63ec81037af06ac1009d12cc1dc3188.tar.gz
CMake-a4a1b729c63ec81037af06ac1009d12cc1dc3188.tar.bz2
Fix warnings from clang scanbuild.
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackDebGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx
index 0a64bd5..87764e1 100644
--- a/Source/CPack/cmCPackDebGenerator.cxx
+++ b/Source/CPack/cmCPackDebGenerator.cxx
@@ -507,6 +507,11 @@ int cmCPackDebGenerator::createDeb()
//int retVal = -1;
res = cmSystemTools::RunSingleCommand(cmd.c_str(), &output,
&retval, toplevel.c_str(), this->GeneratorVerbose, 0);
+ if ( !res || retval )
+ {
+ cmCPackLogger(cmCPackLog::LOG_ERROR, "Problem running cmake -E md5sum "
+ << cmd << std::endl);
+ }
// debian md5sums entries are like this:
// 014f3604694729f3bf19263bac599765 usr/bin/ccmake
// thus strip the full path (with the trailing slash)