aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-drop.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-12 19:22:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-12 19:37:35 +0300
commitc6196464780fbdb1a2dbdda92061189395e5072e (patch)
tree46d5de0f648c823423ff75bd65ad3c60932a8f13 /bpkg/pkg-drop.cxx
parentee16762d8435ec1a6dfe4a82655cde5624bb2c38 (diff)
Add support for --keep-out option
Diffstat (limited to 'bpkg/pkg-drop.cxx')
-rw-r--r--bpkg/pkg-drop.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/pkg-drop.cxx b/bpkg/pkg-drop.cxx
index 4309b2e..6e28c37 100644
--- a/bpkg/pkg-drop.cxx
+++ b/bpkg/pkg-drop.cxx
@@ -354,7 +354,10 @@ namespace bpkg
// leave the configuration in a valid state.
//
transaction t (db.begin ());
- pkg_disfigure (c, o, t, p); // Commits the transaction.
+
+ // Commits the transaction.
+ //
+ pkg_disfigure (c, o, t, p, true /* clean */);
assert (p->state == package_state::unpacked ||
p->state == package_state::transient);