From 4e9e142a6564b2a73848e735f9a1b5bb744d6a83 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 18 Aug 2021 08:35:18 +0200 Subject: Also consider subproject directory names when calculating manifest checksums --- bpkg/package.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/package.cxx') diff --git a/bpkg/package.cxx b/bpkg/package.cxx index 8ad178d..e0101fb 100644 --- a/bpkg/package.cxx +++ b/bpkg/package.cxx @@ -539,6 +539,7 @@ namespace bpkg const dir_path& d, const package_name& n, const version& v, + const package_info* pi, bool check_external) { tracer trace ("package_iteration"); @@ -576,7 +577,7 @@ namespace bpkg false /* iteration */)) return nullopt; - string mc (sha256 (o, d / manifest_file)); + string mc (package_checksum (o, d, pi)); // The selected package must not be "simulated" (see pkg-build for // details). -- cgit v1.1