aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker/worker.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-17 20:23:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-17 20:23:26 +0200
commit5cac5e17b1224e3f048058b26383f2cc15cf6282 (patch)
treeb461cae11766ba00846080a88e3780c2e1edd91a /bbot/worker/worker.cxx
parentc8ace1ee0a6cab5fd4ea2f084ea436cfa513637d (diff)
Use 'build' instead target/machine name for configuration directory
Less noise in the logs.
Diffstat (limited to 'bbot/worker/worker.cxx')
-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;