summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-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;