aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Piasek <dagger@gentoo.org>2009-03-15 14:49:06 +0000
committerRobert Piasek <dagger@gentoo.org>2009-03-15 14:49:06 +0000
commitf8390cbdf93015eb1a01424a95272369e1155209 (patch)
treeb5ac52078d792c2c4507f1a3cd5c52c6fa40bb0e /profiles
parentfix: Updated xglamo ebuild. We need to depend on basic fonts (diff)
downloadembedded-cross-f8390cbdf93015eb1a01424a95272369e1155209.tar.gz
embedded-cross-f8390cbdf93015eb1a01424a95272369e1155209.tar.bz2
embedded-cross-f8390cbdf93015eb1a01424a95272369e1155209.zip
fix: This should fix bashrc if PORTAGE_DIR
is set up for other-than-portage repo.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/openmoko/bashrc15
1 files changed, 14 insertions, 1 deletions
diff --git a/profiles/openmoko/bashrc b/profiles/openmoko/bashrc
index faca29a..f4b5536 100644
--- a/profiles/openmoko/bashrc
+++ b/profiles/openmoko/bashrc
@@ -1 +1,14 @@
-. ${PORTDIR}/profiles/base/profile.bashrc
+# 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.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