Skip to content
Snippets Groups Projects
Commit 4ee5e381 authored by Gemma Guest's avatar Gemma Guest
Browse files

Enable replacement of catalog path for Windows

Add a replacement string in the config for Windows which uses the fully qualified address for the archive at ISIS
parent 083d1267
No related merge requests found
......@@ -25,7 +25,7 @@ std::string ICatalogInfo::transformArchivePath(const std::string &path) const {
ret = replacePrefix(path, linuxPrefix(), windowsPrefix());
ret = replaceAllOccurences(ret, "/", "\\");
} else {
ret = path;
ret = replacePrefix(path, catalogPrefix(), windowsPrefix());
}
#endif
return ret;
......
......@@ -16,7 +16,7 @@
<externaldownload url="https://isisicatds.stfc.ac.uk/ids/"></externaldownload>
<filelocation>
<prefix regex="\\\\isis\\inst\$"></prefix>
<windows replacement=""></windows>
<windows replacement="\\isis.cclrc.ac.uk\inst$"></windows>
<linux replacement="/archive"></linux>
<mac replacement="/archive"></mac>
</filelocation>
......
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