aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-02 00:51:07 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-02 00:51:07 +0300
commita1b4a224dba40500baeb123bc77372b40e6b268d (patch)
tree91196641e6fc472f05689b9edbdf806c2a2ccbee
parent818a3883a45e8242eee919806828a3ed801d52e1 (diff)
Log changing working directory to build directory in worker
-rw-r--r--bbot/worker/worker.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 1b567b3..7122995 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -469,6 +469,10 @@ build (size_t argc, const char* argv[])
operation_result& r (add_result ("configure"));
+ // Noop, just for the log record.
+ //
+ change_wd (trace, &r.log, dir_path::current_directory ());
+
// bpkg create <env-modules> <config-args> <env-config-args>
//
// bpkg.configure.create