From dfcbbf1fa6fc9166754dedce9398c24867a9947f Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 11 Dec 2021 16:02:22 +0000 Subject: [PATCH] Record the import path of meta data --- meta/folder.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/folder.groovy b/meta/folder.groovy index fe8b565..d3b17c4 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -593,14 +593,14 @@ class MetaInfo extends GISJsonSerialised { class RelatedMetaInfo extends GISJsonSerialised { private String format - private String fullpath + private String importpath private String offsetpath private MetaInfo meta - RelatedMetaInfo(script, fullpath = "", offsetpath = "", MetaInfo meta = null) { + RelatedMetaInfo(script, importpath = "", offsetpath = "", MetaInfo meta = null) { super(script) this.format = '0.2' - this.fullpath = fullpath + this.importpath = importpath this.offsetpath = offsetpath this.meta = meta } @@ -788,7 +788,7 @@ class MetaInfo extends GISJsonSerialised { mi.addConfigurationInfo('', givenRepo, givenRevision, givenSHA) } - RelatedMetaInfo rmi = new RelatedMetaInfo(script, adjustedpath, adjustedpath, mi) + RelatedMetaInfo rmi = new RelatedMetaInfo(script, importedmetafile, adjustedpath, mi) if (appendtoparentmeta) { associatedmeta.add(rmi) }