ENH: by Bill make sure path is unix style
This commit is contained in:
parent
7f237c51f4
commit
1ff49b9789
@ -2389,6 +2389,7 @@ kwsys_stl::string SystemTools::CollapseFullPath(const char* in_path,
|
|||||||
SystemTools::CheckTranslationPath(newPath);
|
SystemTools::CheckTranslationPath(newPath);
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
newPath = SystemTools::GetActualCaseForPath(newPath.c_str());
|
newPath = SystemTools::GetActualCaseForPath(newPath.c_str());
|
||||||
|
SystemTools::ConvertToUnixSlashes(newPath);
|
||||||
#endif
|
#endif
|
||||||
// Return the reconstructed path.
|
// Return the reconstructed path.
|
||||||
return newPath;
|
return newPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user