Ver Fonte

BUG: fix realpath problem again...

Berk Geveci há 24 anos atrás
pai
commit
f6b3049bda
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      Source/cmSystemTools.cxx

+ 1 - 0
Source/cmSystemTools.cxx

@@ -1206,6 +1206,7 @@ std::string cmSystemTools::CollapseFullPath(const char* in_name)
 #  endif
 #  endif
 # endif
 # endif
   realpath(dir.c_str(), resolved_name);
   realpath(dir.c_str(), resolved_name);
+  dir = resolved_name;
   return dir + "/" + file;
   return dir + "/" + file;
 #endif
 #endif
 }
 }