summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-25 19:33:22 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-25 19:33:22 (GMT)
commit07c4f9f145db9fe61b4b49dfb345fbcc29da311f (patch)
tree60a31cf9414a0edb940f7b6b32f72649b0418849
parent410f4838b8349eaf2e638c8b770528610e344a76 (diff)
downloadCMake-07c4f9f145db9fe61b4b49dfb345fbcc29da311f.zip
CMake-07c4f9f145db9fe61b4b49dfb345fbcc29da311f.tar.gz
CMake-07c4f9f145db9fe61b4b49dfb345fbcc29da311f.tar.bz2
BUG: Fixed stupid error in the hack I just checked in.
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index f2ef341..c9f0753 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -93,7 +93,7 @@ void cmSystemTools::GetPath(std::vector<std::string>& path)
// A hack to make the below algorithm work.
if(pathEnv[pathEnv.length()-1] != ':')
{
- pathEnv += ":";
+ pathEnv += pathSep;
}
std::string::size_type start =0;
bool done = false;