diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-16 15:43:45 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-16 15:45:12 +0300 |
commit | 92697b523aa53d233c7ddd43c88d38f558fcd3bd (patch) | |
tree | 4e41e83366b6066966409e3b8000b59bcf496fb0 /bpkg/utility.cxx | |
parent | 74f793789c96b91fec365f813efce234b92e2c03 (diff) |
Fix failing for outdated src-root.build
Diffstat (limited to 'bpkg/utility.cxx')
-rw-r--r-- | bpkg/utility.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bpkg/utility.cxx b/bpkg/utility.cxx index d229205..651b5c0 100644 --- a/bpkg/utility.cxx +++ b/bpkg/utility.cxx @@ -29,10 +29,14 @@ namespace bpkg const dir_path std_build_dir ("build"); const path std_bootstrap_file (dir_path (std_build_dir) /= "bootstrap.build"); const path std_root_file (dir_path (std_build_dir) /= "root.build"); + const dir_path std_bootstrap_dir (dir_path (std_build_dir) /= "bootstrap"); + const path std_src_root_file (std_bootstrap_dir / "src-root.build"); const dir_path alt_build_dir ("build2"); const path alt_bootstrap_file (dir_path (alt_build_dir) /= "bootstrap.build2"); const path alt_root_file (dir_path (alt_build_dir) /= "root.build2"); + const dir_path alt_bootstrap_dir (dir_path (alt_build_dir) /= "bootstrap"); + const path alt_src_root_file (alt_bootstrap_dir / "src-root.build2"); const dir_path current_dir ("."); |