diff options
author | John Mylchreest <johnm@gentoo.org> | 2003-11-18 19:41:12 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2003-11-18 19:41:12 +0000 |
commit | faff6e72d88af315f13a2aba303cfca6affab6e8 (patch) | |
tree | 2a8c09696417e69fe26015c238436c4e3bb31dfd /eclass | |
parent | EXTRAVERSION was still set for vanilla sources, added the exclude for vanilla... (diff) | |
download | historical-faff6e72d88af315f13a2aba303cfca6affab6e8.tar.gz historical-faff6e72d88af315f13a2aba303cfca6affab6e8.tar.bz2 historical-faff6e72d88af315f13a2aba303cfca6affab6e8.zip |
EXTRAVERSION was still set for vanilla sources, added the exclude for vanilla-*, changing where the verification is now done.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel.eclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass index e7cccd754391..806a59209e74 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.39 2003/11/18 19:40:01 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.40 2003/11/18 19:41:12 johnm Exp $ # # This eclass contains the common functions to be used by all lostlogic # based kernel ebuilds @@ -13,11 +13,10 @@ 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/-*/}" + EXTRAVERSION="-${PN/-*/}" [ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" - [ -n "${EXTRAVERSION}" ] && EXTRAVERSION="-${EXTRAVERSION}" KV="${OKV}${EXTRAVERSION}" fi |