diff options
author | David Cole <david.cole@kitware.com> | 2007-06-12 15:11:07 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2007-06-12 15:11:07 (GMT) |
commit | 07837ebe3a159e644fb73ef8b48461eb33dd65a6 (patch) | |
tree | 4f382487d9c566312218ac97a5850eff413a0a27 | |
parent | 6e28861c188316ead00c750cb71b130237179812 (diff) | |
download | CMake-07837ebe3a159e644fb73ef8b48461eb33dd65a6.zip CMake-07837ebe3a159e644fb73ef8b48461eb33dd65a6.tar.gz CMake-07837ebe3a159e644fb73ef8b48461eb33dd65a6.tar.bz2 |
BUG: Never return a string containing a space " " from cmCTest::GetShortPathToFile - replace them with "_". DART cannot construct valid file names during dashboard rollup with space " " in the short path.
-rw-r--r-- | Source/cmCTest.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index bd6480d..4d9cfcd 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2219,6 +2219,7 @@ std::string cmCTest::GetShortPathToFile(const char* cfname) } cmsys::SystemTools::ReplaceString(path, ":", "_"); + cmsys::SystemTools::ReplaceString(path, " ", "_"); return path; } |