diff options
Diffstat (limited to 'bbot')
-rw-r--r-- | bbot/worker/worker.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 03287a3..8994e3f 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -2490,6 +2490,13 @@ build (size_t argc, const char* argv[]) change_wd (trace, &r.log, install_conf); + // Note that for a host or module package we don't need the target + // configuration anymore, if present. So let's free up the space a + // little bit. + // + if (!target_pkg && create_target) + rm_r (trace, &r.log, rwd / target_conf); + // bpkg install <env-config-args> <config-args> <package-name> // step_id b (step_id::bpkg_install); |