aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-20 20:22:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-21 12:01:03 +0300
commitfdfd3e0644095022b61316e220fce3f5a7a1a9ef (patch)
treeb4e8098437fe5e11920aebd71dd581212c4d2f10 /bpkg/pkg-build.cxx
parent8ae1780760db7f73c7045481e6fd18c7fbada60d (diff)
Add --mask-repository-uuid pkg-build option
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index 6101826..848dc39 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -2000,8 +2000,10 @@ namespace bpkg
// Now, as repo_configs is filled and the repositories are fetched mask
// the repositories, if any.
//
- if (o.mask_repository_specified ())
- rep_mask (o.mask_repository ());
+ if (o.mask_repository_specified () || o.mask_repository_uuid_specified ())
+ rep_mask (o.mask_repository (),
+ o.mask_repository_uuid (),
+ current_configs);
// Expand the package specs into individual package args, parsing them
// into the package scheme, name, and version constraint components, and