summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildstream/element.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 9769ebf6c..061b0b213 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -1749,6 +1749,10 @@ class Element(Plugin):
# fetched_original (bool): Whether the original sources had been asked (and fetched) or not
#
def _fetch_done(self, fetched_original):
+ self.__has_all_sources_in_source_cache = True
+ if fetched_original:
+ self.__has_all_sources_cached = True
+
for source in self.__sources:
source._fetch_done(fetched_original)