From 74bbd943c042478ac550ba7bf6fec0a14ae14bcf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Dec 2015 13:33:29 +0200 Subject: Ignoring unknown manifest entries where appropriate --- bpkg/build.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpkg/build.cxx') diff --git a/bpkg/build.cxx b/bpkg/build.cxx index 0087180..86219dd 100644 --- a/bpkg/build.cxx +++ b/bpkg/build.cxx @@ -116,8 +116,8 @@ namespace bpkg package_manifest m ( sp->state == package_state::fetched - ? pkg_verify (options, a->absolute () ? *a : cd / *a) - : pkg_verify (d->absolute () ? *d : cd / *d)); + ? pkg_verify (options, a->absolute () ? *a : cd / *a, true) + : pkg_verify (d->absolute () ? *d : cd / *d, true)); return make_pair (make_shared (move (m)), move (ar)); } @@ -767,7 +767,7 @@ namespace bpkg path a (s); if (exists (a)) { - package_manifest m (pkg_verify (o, a, false)); + package_manifest m (pkg_verify (o, a, true, false)); // This is a package archive (note that we shouldn't throw // failed from here on). @@ -796,7 +796,7 @@ namespace bpkg dir_path d (s); if (exists (d)) { - package_manifest m (pkg_verify (d, false)); + package_manifest m (pkg_verify (d, true, false)); // This is a package directory (note that we shouldn't throw // failed from here on). -- cgit v1.1