aboutsummaryrefslogtreecommitdiff
path: root/bpkg/build.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/build.cxx')
-rw-r--r--bpkg/build.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/bpkg/build.cxx b/bpkg/build.cxx
index eda1199..10f668b 100644
--- a/bpkg/build.cxx
+++ b/bpkg/build.cxx
@@ -1141,16 +1141,19 @@ namespace bpkg
// update
//
- for (const satisfied_package& p: reverse_iterate (pkgs))
+ if (!o.configure_only ())
{
- const shared_ptr<selected_package>& sp (p.selected);
+ for (const satisfied_package& p: reverse_iterate (pkgs))
+ {
+ const shared_ptr<selected_package>& sp (p.selected);
- // @@ TODO: update user selection only.
- //
- pkg_update (c, sp);
+ // @@ TODO: update the user selection only.
+ //
+ pkg_update (c, sp);
- if (verb)
- text << "updated " << sp->name << " " << sp->version;
+ if (verb)
+ text << "updated " << sp->name << " " << sp->version;
+ }
}
}
}