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.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index 9f3d732..423d12f 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -3572,7 +3572,7 @@ namespace bpkg
// make sure it is configured and updated.
//
if (sp == nullptr)
- act = p.system ? "configure" : "build";
+ act = p.system ? "configure" : "new";
else if (sp->version == p.available_version ())
{
// If this package is already configured and is not part of the
@@ -3587,9 +3587,11 @@ namespace bpkg
act = p.system
? "reconfigure"
- : p.reconfigure ()
- ? "reconfigure/build"
- : "build";
+ : (p.reconfigure ()
+ ? (o.configure_only ()
+ ? "reconfigure"
+ : "reconfigure/update")
+ : "update");
}
else
{