From: John Mylchreest Date: Mon, 27 Dec 2004 13:31:48 +0000 (+0000) Subject: Changing OKV to exclude _p* not just _pre*, GMSoft uses _p for patch versions. This... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c1078487b29872dbfe01de4a1ec10660cce34f2;p=gentoo.git Changing OKV to exclude _p* not just _pre*, GMSoft uses _p for patch versions. This solves the problem with hppa --- diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 6be662e3c06f..190768fa3b39 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.62 2004/12/26 14:34:40 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.63 2004/12/27 13:31:48 johnm Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -576,7 +576,7 @@ detect_version() { OKV=${PV/_beta/-test} OKV=${OKV/_rc/-rc} - OKV=${OKV/_pre*/} + OKV=${OKV/_p*/} OKV=${OKV/-r*/} KV_MAJOR=$(echo ${OKV} | cut -d. -f1)