diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-18 08:35:18 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-18 11:54:44 +0300 |
commit | 4e9e142a6564b2a73848e735f9a1b5bb744d6a83 (patch) | |
tree | 940d36bf1136ddcecec7318032ae6d59b07e50f6 /bpkg/package.cxx | |
parent | cd315fecaf4c7473950c1610e06417634b416954 (diff) |
Also consider subproject directory names when calculating manifest checksums
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r-- | bpkg/package.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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). |