Commit cd9157d9 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

BUG: fix remove of cygdrive path stuff

parent a6333bfc
......@@ -431,8 +431,8 @@ std::string cmSystemTools::ConvertToUnixOutputPath(const char* path)
{
std::string ret = path;
// remove //
std::string::size_type pos = 0;
// remove // except at the beginning might be a cygwin drive
std::string::size_type pos = 1;
while((pos = ret.find("//", pos)) != std::string::npos)
{
ret.erase(pos, 1);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment