aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/pkg-build.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index c3dc00e..78a843e 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -87,7 +87,7 @@ namespace bpkg
{
const version& v (*c->min_version);
- q = compare_version_eq (vm, v, v.revision != 0);
+ q = q && compare_version_eq (vm, v, v.revision != 0);
if (v.revision == 0)
q += order_by_revision_desc (vm);