aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx9
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;