aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/worker/worker.cxx')
-rw-r--r--bbot/worker/worker.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 28a7a5b..a12a266 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -1445,7 +1445,10 @@ build (size_t argc, const char* argv[])
//
// b.test-installed.configure
//
- dir_path subprj_src_dir (build_dir / pkg_dir / d);
+ dir_path subprj_src_dir (exists (dist_src)
+ ? dist_src / d
+ : build_dir / pkg_dir / d);
+
dir_path subprj_out_dir (out_dir / d);
r.status |= run_b (