浏览代码

BUG: Fixed stupid error in the hack I just checked in.

Brad King 24 年之前
父节点
当前提交
07c4f9f145
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmSystemTools.cxx

+ 1 - 1
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;