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-verify.cxx | |
parent | d5e755ebe85271e65d69afb38d6548d33e55e79e (diff) |
Fix package dependency constraint completions that could end up with latest snapshot
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r-- | bpkg/pkg-verify.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx index 3894b25..00a5db0 100644 --- a/bpkg/pkg-verify.cxx +++ b/bpkg/pkg-verify.cxx @@ -143,7 +143,10 @@ namespace bpkg } package_manifest - pkg_verify (const dir_path& d, bool iu, bool diag) + pkg_verify (const dir_path& d, + bool iu, + const function<package_manifest::translate_function>& tf, + bool diag) { // Parse the manifest. // @@ -161,7 +164,7 @@ namespace bpkg { ifdstream ifs (mf); manifest_parser mp (ifs, mf.string ()); - package_manifest m (mp, iu); + package_manifest m (mp, tf, iu); // We used to verify package directory is <name>-<version> but it is // not clear why we should enforce it in this case (i.e., the user |