aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-30 19:49:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-30 19:49:41 +0200
commit3d14bf71d04fb0725f3dda5840d93f45553103a0 (patch)
treeb99815cc3f4d1b661e0a8b9edcb43e92f95689b6
parent1933b9c60ddd1eb7c30266dbf8a90aefd9f43c14 (diff)
Fix bug in pkg-bindist --recursive mode logic
-rw-r--r--bpkg/pkg-bindist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-bindist.cxx b/bpkg/pkg-bindist.cxx
index 939356e..5127f7e 100644
--- a/bpkg/pkg-bindist.cxx
+++ b/bpkg/pkg-bindist.cxx
@@ -481,7 +481,7 @@ namespace bpkg
optional<bool> recursive_full;
if (rec && *rec != recursive_mode::separate)
- recursive_full = *rec != recursive_mode::full;
+ recursive_full = (*rec == recursive_mode::full);
// Note that we pass type from here in case one day we want to provide
// an option to specify/override it (along with languages). Note that