diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-10-07 19:07:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-10-07 19:07:56 +0300 |
commit | 4622147b57a320a44e6d1336c15d0e333964b9da (patch) | |
tree | cedf729bba4f89237256e92a4cf8b4ae26f776fd /bbot/worker/worker.cxx | |
parent | 235771a20da1da0c3ff495d03e6c223880cbcf20 (diff) |
Fix worker failing on test installed operation for package from git repository
Diffstat (limited to 'bbot/worker/worker.cxx')
-rw-r--r-- | bbot/worker/worker.cxx | 5 |
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 ( |