aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/worker.cxx')
-rw-r--r--bbot/worker.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/bbot/worker.cxx b/bbot/worker.cxx
index a2e53b2..bd706a8 100644
--- a/bbot/worker.cxx
+++ b/bbot/worker.cxx
@@ -178,10 +178,6 @@ build (size_t argc, const char* argv[])
//
const vector_view<const char*> env (argv + 1, argc - 1);
- vector<string> cfg;
- for (const variable& v: tm.config)
- cfg.push_back (v.unquoted ());
-
// Use target (if present) or machine as configuration directory name.
//
dir_path dir (tm.target ? tm.target->string () : tm.machine);
@@ -190,6 +186,7 @@ build (size_t argc, const char* argv[])
"create",
"-d", dir.string (),
"--wipe",
+ tm.unquoted_config (),
cfg,
env);