diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-29 16:12:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-01-30 15:54:59 +0300 |
commit | fad62fd770129d79e370fc95323543581473cad8 (patch) | |
tree | c12dc09c0bfead4ed606c4c23702426c2737d41b /bpkg/pkg-configure.cxx | |
parent | d5e755ebe85271e65d69afb38d6548d33e55e79e (diff) |
Fix package dependency constraint completions that could end up with latest snapshot
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r-- | bpkg/pkg-configure.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx index 515d7bd..962ae90 100644 --- a/bpkg/pkg-configure.cxx +++ b/bpkg/pkg-configure.cxx @@ -316,8 +316,9 @@ namespace bpkg l4 ([&]{trace << *p;}); - package_manifest m ( - pkg_verify (p->effective_src_root (c), true /* ignore_unknown */)); + package_manifest m (pkg_verify (p->effective_src_root (c), + true /* ignore_unknown */, + [&p] (version& v) {v = p->version;})); pkg_configure (c, o, t, p, m.dependencies, vars, false /* simulate */); } |