diff options
author | Mark Guertin <gerk@gentoo.org> | 2003-02-04 23:11:27 +0000 |
---|---|---|
committer | Mark Guertin <gerk@gentoo.org> | 2003-02-04 23:11:27 +0000 |
commit | 5ecd626063446fa953cf66bfb8795cace2535d5b (patch) | |
tree | 410f41c703bec37b98e184b8b5c9f27b16097e97 /eclass | |
parent | set as -ppc for testing (diff) | |
download | gentoo-2-5ecd626063446fa953cf66bfb8795cace2535d5b.tar.gz gentoo-2-5ecd626063446fa953cf66bfb8795cace2535d5b.tar.bz2 gentoo-2-5ecd626063446fa953cf66bfb8795cace2535d5b.zip |
added sanity check for ETYPE being set
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass index 84f5f3f1a1c8..f2c91e1ada75 100644 --- a/eclass/kernel.eclass +++ b/eclass/kernel.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.15 2003/01/09 23:02:21 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.16 2003/02/04 23:11:27 gerk Exp $ # This eclass contains the common functions to be used by all lostlogic # based kernel ebuilds @@ -17,6 +17,12 @@ PROVIDE="virtual/linux-sources" HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/" LICENSE="GPL-2" +# removes superficial bug if ETYPE is not set, and saves debugging time ;) - Gerk +if [ -z "${ETYPE}" ] ; then + eerror "Please set ETYPE!" + die +fi + if [ $ETYPE = "sources" ] then #console-tools is needed to solve the loadkeys fiasco; binutils version needed to avoid Athlon/PIII/SSE assembler bugs. |