diff options
-rw-r--r-- | src/buildstream/_project.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_project.py b/src/buildstream/_project.py index fb2ae1a88..0a9580dbe 100644 --- a/src/buildstream/_project.py +++ b/src/buildstream/_project.py @@ -698,12 +698,12 @@ class Project: # its elements, append the junction's remotes to the artifact cache specs list if self.junction: parent = self.junction._get_project() - if self.junction.cache_junction_elements: - self.artifact_cache_specs = parent.artifact_cache_specs + self.artifact_cache_specs - if self.junction.ignore_junction_remotes: self.artifact_cache_specs = [] + if self.junction.cache_junction_elements: + self.artifact_cache_specs = parent.artifact_cache_specs + self.artifact_cache_specs + # Load source caches with pull/push config self.source_cache_specs = SourceCache.specs_from_config_node(config, self.directory) |