diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-22 10:42:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-22 17:21:41 +0200 |
commit | 82ea0bd107006cb574d8b19a4e457fb5a4c8caf0 (patch) | |
tree | c0ab3a801484538ebb47cab92b9b27bfb40e73d1 /bpkg/pkg-build.cxx | |
parent | 2dfbf7564fc94841537ba8fb3d46063ab438dda6 (diff) |
Add --keep-config pkg-disfigure option
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r-- | bpkg/pkg-build.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index 4466e76..d8e7b3b 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -5170,8 +5170,8 @@ namespace bpkg check_any_available (cdb, t, &dr); } - // We will keep the output directory only if the external package is - // replaced with an external one (see above for details). + // We will keep the output directory only if the external package + // is replaced with an external one (see above for details). // bool keep_out (o.keep_out () && sp->external ()); @@ -6728,7 +6728,8 @@ namespace bpkg // transaction t (pdb, !simulate /* start */); - // Reset the flag if the package being unpacked is not an external one. + // Reset the keep_out flag if the package being unpacked is not an + // external one. // if (p.keep_out && !simulate) { @@ -6760,7 +6761,7 @@ namespace bpkg // Commits the transaction. // - pkg_disfigure (o, pdb, t, sp, !p.keep_out, simulate); + pkg_disfigure (o, pdb, t, sp, !p.keep_out, true, simulate); r = true; |