From fad62fd770129d79e370fc95323543581473cad8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 29 Jan 2019 16:12:21 +0300 Subject: Fix package dependency constraint completions that could end up with latest snapshot --- bpkg/pkg-checkout.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-checkout.cxx') diff --git a/bpkg/pkg-checkout.cxx b/bpkg/pkg-checkout.cxx index a91cb92..6802c36 100644 --- a/bpkg/pkg-checkout.cxx +++ b/bpkg/pkg-checkout.cxx @@ -151,7 +151,10 @@ namespace bpkg // Verify the package prerequisites are all configured since the dist // meta-operation generally requires all imports to be resolvable. // - package_manifest m (pkg_verify (sd, true /* ignore_unknown */)); + package_manifest m (pkg_verify (sd, + true /* ignore_unknown */, + [&ap] (version& v) {v = ap->version;})); + pkg_configure_prerequisites (o, t, m.dependencies, m.name); if (exists (d)) -- cgit v1.1