*** cmake-orig/Source/CPack/cmCPackDebGenerator.cxx 2013-07-02 15:41:40.000000000 +0200 --- cmake-2.8.11.2/Source/CPack/cmCPackDebGenerator.cxx 2013-09-06 16:42:57.625096060 +0200 *************** *** 402,407 **** --- 402,408 ---- std::string cmd; if (NULL != this->GetOption("CPACK_DEBIAN_FAKEROOT_EXECUTABLE")) { cmd += this->GetOption("CPACK_DEBIAN_FAKEROOT_EXECUTABLE"); + cmd += " -- "; //Otherwise fakeroot will get confused with -E } cmd += " \""; cmd += cmakeExecutable; *************** *** 492,497 **** --- 493,499 ---- if (NULL != this->GetOption("CPACK_DEBIAN_FAKEROOT_EXECUTABLE")) { cmd = this->GetOption("CPACK_DEBIAN_FAKEROOT_EXECUTABLE"); + cmd += " -- "; //Otherwise fakeroot will get confused with -E } cmd += " \""; cmd += cmakeExecutable;