summaryrefslogtreecommitdiff
path: root/src/buildstream
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream')
-rw-r--r--src/buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 6a0fa5fab..ec38be58e 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -283,7 +283,7 @@ class Element(Plugin):
# Collect the composited variables and resolve them
variables = self.__extract_variables(project, meta)
- variables["element-name"] = self.name
+ variables["element-name"] = self.normal_name
self.__variables = Variables(variables)
# Collect the composited environment now that we have variables