offsetpath field in meta files was absolute; should be relative to workspace

This commit is contained in:
Dan Hawkins 2019-02-27 08:23:02 +00:00
commit da35fd3aa0

View file

@ -568,7 +568,7 @@ class MetaInfo extends GISJsonSerialised {
// Strip leading \ if any
pathRelative = pathRelative.replaceAll('^\\+', '')
// Convert \ with /
pathRelative = pathRelative.replaceAll('\\', '/')
pathRelative = pathRelative.replace('\\', '/')
script.echo("Path relative is ${pathRelative}")