From 974a8c152bf7c9a4a5ce3c45808af65657c2ff1f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 8 Feb 2018 12:44:06 +0200 Subject: Add --for|-f option to pkg-update and pkg-build This allows executing build2 -for-X operations (e.g., update-for-install or update-for-test) in order to minimize the amount of stuff to be updated. --- bpkg/pkg-build.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/pkg-build.cxx') diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx index c555ca0..2dcacb7 100644 --- a/bpkg/pkg-build.cxx +++ b/bpkg/pkg-build.cxx @@ -1932,7 +1932,7 @@ namespace bpkg } } - pkg_update (c, o, strings (), upkgs); + pkg_update (c, o, o.for_ (), strings (), upkgs); if (verb) { -- cgit v1.1