diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-25 18:00:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-25 18:00:18 +0200 |
commit | c312da0b9e205aab0379dc095455b617eaf0e3df (patch) | |
tree | 1f58a7c7cf51a45405bd6d8986bff1b174a5eba8 | |
parent | 5905fbe8053c5e58e77234dc1f9f81bde6e46b41 (diff) |
Fix bug in version comparison introduced by previous commit
-rw-r--r-- | bpkg/pkg-build.cxx | 2 |
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); |