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 | 05c6b4a52af7ddd03831d653b64f390091c01600 (patch) | |
tree | f13d585eb5717bfd5af72980e258e194d9a82a62 /eclass/inherit.eclass | |
parent | Just updated my email. (diff) | |
download | gentoo-2-05c6b4a52af7ddd03831d653b64f390091c01600.tar.gz gentoo-2-05c6b4a52af7ddd03831d653b64f390091c01600.tar.bz2 gentoo-2-05c6b4a52af7ddd03831d653b64f390091c01600.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 |