diff options
author | Brad King <brad.king@kitware.com> | 2015-03-30 13:27:42 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-30 13:27:42 (GMT) |
commit | aa15ef8a840f1451cf88040f1e3ab8ee0fce87fb (patch) | |
tree | 73fe655d56aef1ddf696c6d8117e2aad7c9ca092 /Source/CPack | |
parent | 6474f0e2635e13bfa2592ad6ed2d3e026353955a (diff) | |
parent | e680d43d7dd96096962379f627828a182ac0fa80 (diff) | |
download | CMake-aa15ef8a840f1451cf88040f1e3ab8ee0fce87fb.zip CMake-aa15ef8a840f1451cf88040f1e3ab8ee0fce87fb.tar.gz CMake-aa15ef8a840f1451cf88040f1e3ab8ee0fce87fb.tar.bz2 |
Merge topic 'clean-scanbuild-warnings'
e680d43d Fix an unused variable warning from scanbuild.
a4a1b729 Fix warnings from clang scanbuild.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 5 |
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) |