aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r--libbuild2/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/rule.cxx b/libbuild2/rule.cxx
index eabe578..773d42e 100644
--- a/libbuild2/rule.cxx
+++ b/libbuild2/rule.cxx
@@ -631,7 +631,7 @@ namespace build2
{
const scope& bs (t.base_scope ());
- build::script::environment e (a, t);
+ build::script::environment e (a, t, script.temp_dir);
build::script::parser p (ctx);
build::script::default_runner r;
p.execute (*bs.root_scope (), bs, e, script, r);
@@ -664,7 +664,7 @@ namespace build2
{
const scope& bs (t.base_scope ());
- build::script::environment e (a, t);
+ build::script::environment e (a, t, script.temp_dir);
build::script::parser p (ctx);
build::script::default_runner r;
p.execute (*bs.root_scope (), bs, e, script, r);