diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-07-21 21:27:07 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-04 15:22:05 +0300 |
commit | dbb56f2986eefd0ffb1350ab1ff0cb47ad5e7918 (patch) | |
tree | 74591d23b4355d7f72898547b2fa7bd61c5f0318 /bpkg/cfg-create.cxx | |
parent | 6851f0c2d06e2b22ff376d8f0912d1e9d7893a89 (diff) |
Add --no-private-config option for pkg-build and --no-{host,build2}-config options for cfg-create
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r-- | bpkg/cfg-create.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<uuid> (), - (o.host_config_specified () + (o.host_config_specified () && !o.no_host_config () ? o.host_config () : optional<dir_path> ()), - (o.build2_config_specified () + (o.build2_config_specified () && !o.no_build2_config () ? o.build2_config () : optional<dir_path> ()))); |