diff options
author | Brad King <brad.king@kitware.com> | 2007-08-31 13:14:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-08-31 13:14:43 (GMT) |
commit | 20455c699bab663148d9e7932eb1faf722473d29 (patch) | |
tree | 8bce36cbc42bf554ad70392bdf986ddaf6827806 /Source/CPack/cmCPackDebGenerator.cxx | |
parent | 54a470dd0372cfaec20534c4b12735b5dddcaff9 (diff) | |
download | CMake-20455c699bab663148d9e7932eb1faf722473d29.zip CMake-20455c699bab663148d9e7932eb1faf722473d29.tar.gz CMake-20455c699bab663148d9e7932eb1faf722473d29.tar.bz2 |
BUG: Another space-in-path fix.
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index fb6f814..c77809e 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -105,8 +105,10 @@ int cmCPackDebGenerator::CompressFiles(const char* outFileName, out << std::endl; } - std::string cmd = cmakeExecutable; - cmd += " -E tar cfz data.tar.gz ./usr"; + std::string cmd; + cmd = "\""; + cmd += cmakeExecutable; + cmd += "\" -E tar cfz data.tar.gz ./usr"; std::string output; int retVal = -1; int res = cmSystemTools::RunSingleCommand(cmd.c_str(), &output, |