summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-10-01 13:54:38 +0000
committerDan Armak <danarmak@gentoo.org>2001-10-01 13:54:38 +0000
commit975902e589effb2bf5b3355fba521f0d823e0c81 (patch)
tree28106b6a94705d76ea6cff5c29fc89c13539b206 /eclass/inherit.eclass
parenteclasses v3. read the gentoo-dev announcement, and news.txt and howto.* (diff)
downloadhistorical-975902e589effb2bf5b3355fba521f0d823e0c81.tar.gz
historical-975902e589effb2bf5b3355fba521f0d823e0c81.tar.bz2
historical-975902e589effb2bf5b3355fba521f0d823e0c81.zip
eclasses v3.1
added debug.eclass and fixed many bugs
Diffstat (limited to 'eclass/inherit.eclass')
-rw-r--r--eclass/inherit.eclass15
1 files changed, 11 insertions, 4 deletions
diff --git a/eclass/inherit.eclass b/eclass/inherit.eclass
index 74cd051737b9..925d7dd22c71 100644
--- a/eclass/inherit.eclass
+++ b/eclass/inherit.eclass
@@ -1,15 +1,22 @@
-# $Header: /var/cvsroot/gentoo-x86/eclass/inherit.eclass,v 1.4 2001/09/29 12:35:38 danarmak Exp $
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Dan Armak <danarmak@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/eclass/inherit.eclass,v 1.5 2001/10/01 13:54:38 danarmak Exp $
# This eclass provides the inherit() function. In the future it will be placed in ebuild.sh, but for now drobbins
# doesn't want to make a new portage just for my testing, so every eclass/ebuild will source this file manually and
-# then inherit(). This way whn the tmie comes for this to move into stable ebuild.sh, we can just delete the source lines.
+# then inherit(). This way when the tmie comes for this to move into stable ebuild.sh, we can just delete the source lines.
ECLASSDIR=/usr/portage/eclass
inherit() {
while [ "$1" ]; do
- source ${ECLASSDIR}/${1}.eclass
+ location="${ECLASSDIR}/${1}.eclass"
+ # someday we'll do this the right way.
+ . ${ECLASSDIR}/debug.eclass
+ debug-print "inherit: $1 -> $location"
+ source "$location"
shift
done
-} \ No newline at end of file
+}