aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-17 13:13:43 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-17 13:13:43 +0000
commit6fc9c9709b2523492f980a87c95f4c8ec5ffbd8f (patch)
treee3345a2d6c16cc941f979ce861cc6142d502a29c
parent01ae9f3a6e912d9b7802ef5f6ea35e41cf352dbf (diff)
downloadpaludis-6fc9c9709b2523492f980a87c95f4c8ec5ffbd8f.tar.gz
paludis-6fc9c9709b2523492f980a87c95f4c8ec5ffbd8f.tar.xz
Implement real elog support
-rw-r--r--ebuild/echo_functions.bash.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/ebuild/echo_functions.bash.in b/ebuild/echo_functions.bash.in
index 4c9978c..ae213b1 100644
--- a/ebuild/echo_functions.bash.in
+++ b/ebuild/echo_functions.bash.in
@@ -61,6 +61,9 @@ einfo()
elog()
{
einfo "$@"
+ if [[ -n "${PALUDIS_ELOG_FILE}" ]] ; then
+ echo "$@" >> "${PALUDIS_ELOG_FILE}"
+ fi
}
ewarn()