diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-01 15:53:40 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-01 17:58:27 +0300 |
commit | b1f343f5d20ea0c52a7265d134094035da13b806 (patch) | |
tree | 56529e03437e93791efa0473be89d29a23d08d2b /bpkg/pkg-build.cxx | |
parent | af498a19d6c9c42748521225b7daae671a5f58b5 (diff) |
Add --package-cwd option to bpkg-pkg-test
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r-- | bpkg/pkg-build.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index 7a2168c..6cb59d5 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -4504,7 +4504,9 @@ namespace bpkg if (!sp->system () && // System package doesn't need update. p.user_selection ()) - upkgs.push_back (pkg_command_vars {sp, strings ()}); + upkgs.push_back (pkg_command_vars {sp, + strings () /* vars */, + false /* cwd */}); } // Then add dependents. We do it as a separate step so that they are @@ -4517,7 +4519,9 @@ namespace bpkg assert (p.action); if (*p.action == build_package::adjust && p.reconfigure ()) - upkgs.push_back (pkg_command_vars {p.selected, strings ()}); + upkgs.push_back (pkg_command_vars {p.selected, + strings () /* vars */, + false /* cwd */}); } } |