aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-18 06:21:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-18 06:21:35 +0200
commitb18e54a088e84ed31f320d69b904af3f999adb2b (patch)
treeb61cd10098ec1355e8765717b153c232043a44b7 /bpkg/pkg-configure.cxx
parentfaafff4814b4bfbbd043d13899c81115bd0f8604 (diff)
Get rid of 'updated' state; clean in pkg-disfigure
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index c0dc05e..65355ba 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -101,10 +101,10 @@ namespace bpkg
// the broken state.
//
- // Pretend we are configured.
+ // Indicate to pkg_disfigure() we are partially configured.
//
p->out_root = out_root.leaf ();
- p->state = state::configured;
+ p->state = state::broken;
pkg_disfigure (c, t, p); // Commits the transaction.
throw;