aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/worker/worker.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 2aad8aa..e3da1dd 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -228,9 +228,9 @@ build (size_t argc, const char* argv[])
//
const vector_view<const char*> env (argv + 1, argc - 1);
- // Use target (if present) or machine as configuration directory name.
+ // Configuration directory name.
//
- dir_path dir (tm.target ? tm.target->string () : tm.machine);
+ dir_path dir ("build");
r.status |= run_bpkg (trace, r.log, wre,
"create",
@@ -238,7 +238,6 @@ build (size_t argc, const char* argv[])
"--wipe",
tm.unquoted_config (),
env);
-
if (!r.status)
break;