mirror of
https://github.com/reactos/CMake.git
synced 2025-02-14 16:38:42 +00:00
BUG: fix remove of cygdrive path stuff
This commit is contained in:
parent
a6333bfca3
commit
cd9157d9ea
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user