aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:03:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-22 22:03:26 +0300
commit5c9c152159445c43d3a94a166bfaa0acd86680aa (patch)
treef337dc26458e9012f4378abd54ac2eebdc23b7d4
parent72aea46ebd6221466a1161f80041eaa5a5c402e1 (diff)
Quote directory paths in buildspecs
-rw-r--r--bbot/worker/worker.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index beb57ba..bfac375 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -785,7 +785,7 @@ build (size_t argc, const char* argv[])
r.status |= run_b (
trace, r.log, wre,
"-V",
- "create(" + out_dir.representation () + mods + ")",
+ "create('" + out_dir.representation () + "'" + mods + ")",
step_args (config_args, step_id::b_test_installed_create),
step_args (env_args, step_id::b_test_installed_create));
@@ -828,9 +828,9 @@ build (size_t argc, const char* argv[])
trace, r.log, wre,
envvars,
"-v",
- "configure(" +
- subprj_src_dir.representation () + '@' +
- subprj_out_dir.representation () + ")",
+ "configure('" +
+ subprj_src_dir.representation () + "'@'" +
+ subprj_out_dir.representation () + "')",
step_args (config_args, step_id::b_test_installed_configure),
step_args (env_args, step_id::b_test_installed_configure));
@@ -838,7 +838,7 @@ build (size_t argc, const char* argv[])
break;
test_specs.push_back (
- "test(" + subprj_out_dir.representation () + ')');
+ "test('" + subprj_out_dir.representation () + "')");
}
if (!r.status)