From 2b6ae9f528504897bc24803d95bbb6da61a2a85b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Dec 2015 11:01:26 +0200 Subject: Add support for --build, --build-option common options --- bpkg/pkg-disfigure.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-disfigure.cxx') diff --git a/bpkg/pkg-disfigure.cxx b/bpkg/pkg-disfigure.cxx index 465213b..a8ca60f 100644 --- a/bpkg/pkg-disfigure.cxx +++ b/bpkg/pkg-disfigure.cxx @@ -18,6 +18,7 @@ namespace bpkg { void pkg_disfigure (const dir_path& c, + const common_options& o, transaction& t, const shared_ptr& p) { @@ -99,7 +100,7 @@ namespace bpkg try { if (exists (out_root)) - run_b (bspec, true); // Run quiet. + run_b (o, bspec, true); // Run quiet. // Make sure the out directory is gone unless it is the same as src. // @@ -155,7 +156,7 @@ namespace bpkg level4 ([&]{trace << p->name << " " << p->version;}); - pkg_disfigure (c, t, p); // Commits the transaction. + pkg_disfigure (c, o, t, p); // Commits the transaction. if (verb) text << "disfigured " << p->name << " " << p->version; -- cgit v1.1