From 6cc2e195700e6ce02c04160c0c93af6d325d89d7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 8 Dec 2024 11:49:43 +0100 Subject: Call execute with full settings. --- src/rebuild.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rebuild.cc') 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); -- cgit v1.2.3