aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r--bpkg/pkg-verify.cxx7
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