aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-14 00:54:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-16 13:45:18 +0300
commitbc24eec7208187e171fd61ced7130fd8e2828257 (patch)
tree23e9076f0e06282001758ef5939db872eba214ff /bpkg/pkg-verify.cxx
parent5f75406495f06b75eb10b3456a1ca550f4e55b61 (diff)
Add support for version iteration
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r--bpkg/pkg-verify.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx
index 3d96136..a220480 100644
--- a/bpkg/pkg-verify.cxx
+++ b/bpkg/pkg-verify.cxx
@@ -9,6 +9,7 @@
#include <bpkg/archive.hxx>
#include <bpkg/diagnostics.hxx>
+#include <bpkg/manifest-utility.hxx>
using namespace std;
using namespace butl;
@@ -20,7 +21,7 @@ namespace bpkg
try
{
dir_path pd (package_dir (af));
- path mf (pd / path ("manifest"));
+ path mf (pd / manifest_file);
// If diag is false, we need to make tar not print any diagnostics. There
// doesn't seem to be an option to suppress this and the only way is to
@@ -115,7 +116,7 @@ namespace bpkg
{
// Parse the manifest.
//
- path mf (d / path ("manifest"));
+ path mf (d / manifest_file);
if (!exists (mf))
{