diff options
author | 2011-02-03 17:51:05 +0000 | |
---|---|---|
committer | 2011-02-03 17:51:05 +0000 | |
commit | 665e52b96262359e26f2a2c52b81183b41e109aa (patch) | |
tree | d54cb347165d2358f7a13df3acd60e857584fa4d | |
parent | 35831832b06566d7dd316c9a4cf6d12f4727b978 (diff) | |
download | paludis-665e52b96262359e26f2a2c52b81183b41e109aa.tar.gz paludis-665e52b96262359e26f2a2c52b81183b41e109aa.tar.xz |
exlogfailure
-rw-r--r-- | paludis/repositories/e/ebuild/exheres-0/output_functions.bash | 8 | ||||
-rw-r--r-- | paludis/repositories/e/pipe_command_handler.cc | 6 |
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 1c466d865..92aaa3ba8 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 b4f46fc8f..14dbefa1f 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) |