aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
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;