summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2003-11-18 19:43:09 +0000
committerJohn Mylchreest <johnm@gentoo.org>2003-11-18 19:43:09 +0000
commit3e64c6ec70687debbc0cf3005522cf4b1df4e59b (patch)
treebb319ed310199679c87b4bddecdba4fa648ec6da /eclass/kernel.eclass
parentEXTRAVERSION was still set for vanilla sources, added the exclude for vanilla... (diff)
downloadgentoo-2-3e64c6ec70687debbc0cf3005522cf4b1df4e59b.tar.gz
gentoo-2-3e64c6ec70687debbc0cf3005522cf4b1df4e59b.tar.bz2
gentoo-2-3e64c6ec70687debbc0cf3005522cf4b1df4e59b.zip
EXTRAVERSION was still set for vanilla sources, added the exclude for vanilla-*, changing where the verification is now done.
Diffstat (limited to 'eclass/kernel.eclass')
-rw-r--r--eclass/kernel.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass
index 806a59209e74..eda403f4f229 100644
--- a/eclass/kernel.eclass
+++ b/eclass/kernel.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.40 2003/11/18 19:41:12 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.41 2003/11/18 19:43:09 johnm Exp $
#
# This eclass contains the common functions to be used by all lostlogic
# based kernel ebuilds
@@ -13,7 +13,7 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst
# OKV=original kernel version, KV=patched kernel version. They can be the same.
[ -z "${OKV}" ] && OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-if [ -z "${EXTRAVERSION}" -a "${PN/-*/}" != "linux" -a "${PN/-*/}" != "vanilla"]
+if [ -z "${EXTRAVERSION}" -a "${PN/-*/}" != "linux" -a "${PN/-*/}" != "vanilla" ]
then
EXTRAVERSION="-${PN/-*/}"
[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}"