diff options
author | 2006-07-06 21:35:00 +0000 | |
---|---|---|
committer | 2006-07-06 21:35:00 +0000 | |
commit | 77fbd3b68fce95bc2efac76bd8e53c3f9ab962f6 (patch) | |
tree | 8a82df9af08e92ed8f7964a9262c1746a58ec83c /profiles | |
parent | Remove deprecation messages by using --clean and --prune. Blame ian. (diff) | |
download | historical-77fbd3b68fce95bc2efac76bd8e53c3f9ab962f6.tar.gz historical-77fbd3b68fce95bc2efac76bd8e53c3f9ab962f6.tar.bz2 historical-77fbd3b68fce95bc2efac76bd8e53c3f9ab962f6.zip |
add compat hack so elog() can be used with portage-2.0
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/base/profile.bashrc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/profiles/base/profile.bashrc b/profiles/base/profile.bashrc index 59189cfe6e94..c76d82f93b66 100644 --- a/profiles/base/profile.bashrc +++ b/profiles/base/profile.bashrc @@ -1,8 +1,14 @@ # Copyright 2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.1 2006/06/29 22:07:02 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/base/profile.bashrc,v 1.2 2006/07/06 21:35:00 genone Exp $ for conf in ${PN} ${PN}-${PV} ${PN}-${PV}-${PR}; do [[ -r ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} ]] \ && . ${PORTAGE_CONFIGROOT}/etc/portage/env/${CATEGORY}/${conf} done + +if [[ $(type -t elog) != "function" ]]; then + elog() { + einfo "$@" + } +fi |