offsetpath field in meta files was absolute; should be relative to workspace
This commit is contained in:
parent
6ca84a13fe
commit
d66b7b80d6
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
String relativize(String path) {
|
||||
def Path mypath = Paths.get(path)
|
||||
String pathRelative
|
||||
script.echo("Seeing if ${path} begins with from ${script.WORKSPACE}")
|
||||
script.echo("Seeing if ${path} begins with ${script.WORKSPACE}")
|
||||
if (path.startsWith(script.WORKSPACE)) {
|
||||
def Path wspath = Paths.get(script.WORKSPACE)
|
||||
def Path wsrelativePath = wspath.relativize(mypath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue