diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-09-28 19:25:33 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-09-28 19:25:33 +0000 |
commit | f7fae54fe7b937b7a482622f2d39d7e6b503e14d (patch) | |
tree | 7c6ad6805e30defc41419891b2e8a0fe0ded7f8a /eclass/inherit.eclass | |
parent | Just updated my email. (diff) | |
download | historical-f7fae54fe7b937b7a482622f2d39d7e6b503e14d.tar.gz historical-f7fae54fe7b937b7a482622f2d39d7e6b503e14d.tar.bz2 historical-f7fae54fe7b937b7a482622f2d39d7e6b503e14d.zip |
Initial version of eclasses. :-)
If you're gong to play wih it:
1) wait for tomorrow, by then i'll have much more commited, including a README.
2) don't commit changes unless you know what you're doing
3) don't criticise unless you know what you're thinking
Diffstat (limited to 'eclass/inherit.eclass')
-rw-r--r-- | eclass/inherit.eclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/inherit.eclass b/eclass/inherit.eclass new file mode 100644 index 000000000000..5f323b8a40fd --- /dev/null +++ b/eclass/inherit.eclass @@ -0,0 +1,15 @@ +# $Header: /var/cvsroot/gentoo-x86/eclass/inherit.eclass,v 1.1 2001/09/28 19:25:33 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=${PORTDIR}/eclass + +inherit() { + + while [ "$1" ]; do + source ${ECLASSDIR}/${1}.eclass + shift + done + +}
\ No newline at end of file |