aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/parse/ast.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py
index a995b9d3e..f587c6cbd 100644
--- a/lib/bb/parse/ast.py
+++ b/lib/bb/parse/ast.py
@@ -131,8 +131,7 @@ def handleInclude(statements, m, fn, lineno, data, force):
def handleExport(statements, m, data):
# AST handling
statements.append(ExportNode(m.group(1)))
-
- bb.data.setVarFlag(m.group(1), "export", 1, data)
+ statements[-1].eval(data)
def handleData(statements, groupd, data):
# AST handling