summaryrefslogtreecommitdiff
path: root/src/rebuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-08 11:49:43 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-12-08 12:13:37 +0100
commit6cc2e195700e6ce02c04160c0c93af6d325d89d7 (patch)
tree87f76acebf73498d0fab528e043ea84ca1f8b863 /src/rebuild.cc
parent87997f6285fdba420c00e740d26f98f7e7e06504 (diff)
Call execute with full settings.execute_with_env
Diffstat (limited to 'src/rebuild.cc')
-rw-r--r--src/rebuild.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebuild.cc b/src/rebuild.cc
index 76fcbef..460bbfb 100644
--- a/src/rebuild.cc
+++ b/src/rebuild.cc
@@ -225,7 +225,7 @@ bool recompileCheck(const ctor::settings& global_settings, int argc, char* argv[
}
}
- auto tasks = taskFactory({config}, settings, {});
+ auto tasks = taskFactory({config}, settings, {}, true);
for(auto task : tasks)
{
@@ -270,7 +270,7 @@ bool recompileCheck(const ctor::settings& global_settings, int argc, char* argv[
{
args.push_back(argv[i]);
}
- auto ret = execute(argv[0], args);
+ auto ret = execute(settings, argv[0], args);
//if(ret != 0)
{
exit(ret);