aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-12 13:04:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-12 13:04:33 +0000
commitdae574c8eeadfbb35a7d8369197fdde2ea61d017 (patch)
tree92cbff6425bdf0b4c116d2c2394df39c7624cc65
parentd7e855600a8cf683ce9dfa9ff934270bb558c5db (diff)
downloadpaludis-dae574c8eeadfbb35a7d8369197fdde2ea61d017.tar.gz
paludis-dae574c8eeadfbb35a7d8369197fdde2ea61d017.tar.xz
use the output manager for writing vdb entry output
-rw-r--r--paludis/repositories/e/ebuild.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild.cc b/paludis/repositories/e/ebuild.cc
index eab93f3..5ae5627 100644
--- a/paludis/repositories/e/ebuild.cc
+++ b/paludis/repositories/e/ebuild.cc
@@ -883,6 +883,11 @@ WriteVDBEntryCommand::operator() ()
params.package_id(), _1, params.maybe_output_manager()))
);
+ if (params.maybe_output_manager())
+ cmd
+ .with_captured_stderr_stream(&params.maybe_output_manager()->stderr_stream())
+ .with_captured_stdout_stream(&params.maybe_output_manager()->stdout_stream());
+
std::string defined_phases(params.package_id()->eapi()->supported()->ebuild_metadata_variables()->defined_phases()->name());
if (! defined_phases.empty())
if (params.package_id()->defined_phases_key())