diff options
author | John Mylchreest <johnm@gentoo.org> | 2003-11-18 19:26:07 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2003-11-18 19:26:07 +0000 |
commit | d7055e0f51639009181b692a2ef611ba825748b7 (patch) | |
tree | 3fbdfea4be72d80ee28e5e534016515d456fbc63 /eclass | |
parent | repoman: Trim trailing whitespace (diff) | |
download | gentoo-2-d7055e0f51639009181b692a2ef611ba825748b7.tar.gz gentoo-2-d7055e0f51639009181b692a2ef611ba825748b7.tar.bz2 gentoo-2-d7055e0f51639009181b692a2ef611ba825748b7.zip |
EXTRAVERSION was still set for vanilla sources, added the exclude for vanilla-*
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass index b42a58d1089e..cc6df0415b67 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.37 2003/11/16 18:17:28 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.38 2003/11/18 19:26:07 johnm Exp $ # # This eclass contains the common functions to be used by all lostlogic # based kernel ebuilds @@ -15,7 +15,7 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst if [ -z "${EXTRAVERSION}" ] then - [ ! "${PN/-*/}" == "linux" ] && EXTRAVERSION="${PN/-*/}" + [ "${PN/-*/}" != "linux" -a "${PN/-*/}" != "vanilla" ] && EXTRAVERSION="${PN/-*/}" [ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" [ -n "${EXTRAVERSION}" ] && EXTRAVERSION="-${EXTRAVERSION}" KV="${OKV}${EXTRAVERSION}" |