aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-disfigure.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-08 11:01:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-08 11:01:26 +0200
commit2b6ae9f528504897bc24803d95bbb6da61a2a85b (patch)
tree88f136d21acc99bf4947f758ef149cf85f748663 /bpkg/pkg-disfigure.cxx
parent02e321b97889b558ecaad5ed03c80aee08f9c0ba (diff)
Add support for --build, --build-option common options
Diffstat (limited to 'bpkg/pkg-disfigure.cxx')
-rw-r--r--bpkg/pkg-disfigure.cxx5
1 files changed, 3 insertions, 2 deletions
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<selected_package>& 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;