aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-03 15:18:37 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-03 19:50:14 +0300
commita8ecf5f2fe153bcb82a3ec4cf6789d0d0e79f757 (patch)
tree2d9e9f3d29f716c93aa2b10f05d40f54f2296456 /bpkg/pkg-build.cxx
parent06c76d48163efb5a6a9bb4340723baf7a3a0a41c (diff)
Tweak pkg-build plan wording
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
{