summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-09-29 12:35:38 +0000
committerDan Armak <danarmak@gentoo.org>2001-09-29 12:35:38 +0000
commit19b9f02b6829f2c82196092a3a4e46960a121526 (patch)
treef7df3df78e6f96b4708e5f1891202be5a607b7e9 /eclass/inherit.eclass
parentzap of old portage and added db-3.2.9 to package.mask (diff)
downloadhistorical-19b9f02b6829f2c82196092a3a4e46960a121526.tar.gz
historical-19b9f02b6829f2c82196092a3a4e46960a121526.tar.bz2
historical-19b9f02b6829f2c82196092a3a4e46960a121526.zip
Eclasses release 2. This time they are supposed to be fully operational.
Bug hunters please!
Diffstat (limited to 'eclass/inherit.eclass')
-rw-r--r--eclass/inherit.eclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/inherit.eclass b/eclass/inherit.eclass
new file mode 100644
index 000000000000..74cd051737b9
--- /dev/null
+++ b/eclass/inherit.eclass
@@ -0,0 +1,15 @@
+# $Header: /var/cvsroot/gentoo-x86/eclass/inherit.eclass,v 1.4 2001/09/29 12:35: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.
+
+ECLASSDIR=/usr/portage/eclass
+
+inherit() {
+
+ while [ "$1" ]; do
+ source ${ECLASSDIR}/${1}.eclass
+ shift
+ done
+
+} \ No newline at end of file