summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-12-29 08:37:07 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-12-29 08:37:07 +0000
commit75bcf94905f648b1077ef780042780d0f9f8cff5 (patch)
tree74eba381deb496fee290fc12fb9afa5bd69eb4c9 /eclass
parentversion bump; clean old (diff)
downloadhistorical-75bcf94905f648b1077ef780042780d0f9f8cff5.tar.gz
historical-75bcf94905f648b1077ef780042780d0f9f8cff5.tar.bz2
historical-75bcf94905f648b1077ef780042780d0f9f8cff5.zip
Adding sanity check
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index a59dfaa09d82..e51779062e41 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.66 2004/12/29 00:06:53 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.67 2004/12/29 08:37:07 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -60,6 +60,9 @@ SLOT="${PVR}"
#Eclass functions only from here onwards ...
#==============================================================
kernel_is() {
+ # And lets add a sanity check
+ [ -z "${KV_FULL}" ] && return 1
+
local RESULT operator value test
RESULT=0