aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-03 17:51:05 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-03 17:51:05 +0000
commit665e52b96262359e26f2a2c52b81183b41e109aa (patch)
treed54cb347165d2358f7a13df3acd60e857584fa4d
parent35831832b06566d7dd316c9a4cf6d12f4727b978 (diff)
downloadpaludis-665e52b96262359e26f2a2c52b81183b41e109aa.tar.gz
paludis-665e52b96262359e26f2a2c52b81183b41e109aa.tar.xz
exlogfailure
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/output_functions.bash8
-rw-r--r--paludis/repositories/e/pipe_command_handler.cc6
2 files changed, 13 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/output_functions.bash b/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
index 1c466d8..92aaa3b 100644
--- a/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
-# Copyright (c) 2006, 2007, 2008, 2010 Ciaran McCreesh
+# Copyright (c) 2006, 2007, 2008, 2010, 2011 Ciaran McCreesh
#
# This file is part of the Paludis package manager. Paludis is free software;
# you can redistribute it and/or modify it under the terms of the GNU General
@@ -29,3 +29,9 @@ ebuild_section()
paludis_pipe_command LOG "$EAPI" "status" "${COLOUR_PINK}===${COLOUR_NORMAL} $@" >/dev/null
echo "$@"
}
+
+exlogfailure()
+{
+ paludis_pipe_command KEEP_LOGS "$EAPI" "$@" >/dev/null
+}
+
diff --git a/paludis/repositories/e/pipe_command_handler.cc b/paludis/repositories/e/pipe_command_handler.cc
index b4f46fc..14dbefa 100644
--- a/paludis/repositories/e/pipe_command_handler.cc
+++ b/paludis/repositories/e/pipe_command_handler.cc
@@ -220,6 +220,12 @@ paludis::erepository::pipe_command_handler(const Environment * const environment
}
}
}
+ else if (tokens[0] == "KEEP_LOGS")
+ {
+ if (maybe_output_manager)
+ maybe_output_manager->ignore_succeeded();
+ return "O0;";
+ }
else if (tokens[0] == "MESSAGE")
{
if (tokens.size() == 3)