Skip to content
Snippets Groups Projects
Commit a7fe66dd authored by Owen Arnold's avatar Owen Arnold
Browse files

refs #13989. Fix windows path issue.

parent 676a3f3f
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,8 @@ std::string ICatalogInfo::transformArchivePath(const std::string &path) const { ...@@ -19,6 +19,8 @@ std::string ICatalogInfo::transformArchivePath(const std::string &path) const {
if (path.find("\\") == std::string::npos) { if (path.find("\\") == std::string::npos) {
ret = replacePrefix(path, linuxPrefix(), windowsPrefix()); ret = replacePrefix(path, linuxPrefix(), windowsPrefix());
ret = replaceAllOccurences(ret, "/", "\\"); ret = replaceAllOccurences(ret, "/", "\\");
} else {
ret = path;
} }
#endif #endif
return ret; return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment