From dbb56f2986eefd0ffb1350ab1ff0cb47ad5e7918 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 21 Jul 2021 21:27:07 +0300 Subject: Add --no-private-config option for pkg-build and --no-{host,build2}-config options for cfg-create --- bpkg/cfg-create.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/cfg-create.cxx') diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index 09d8e79..29de01c 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -270,10 +270,10 @@ namespace bpkg o.existing (), o.wipe (), o.uuid_specified () ? o.uuid () : optional (), - (o.host_config_specified () + (o.host_config_specified () && !o.no_host_config () ? o.host_config () : optional ()), - (o.build2_config_specified () + (o.build2_config_specified () && !o.no_build2_config () ? o.build2_config () : optional ()))); -- cgit v1.1