Changing OKV to exclude _p* not just _pre*, GMSoft uses _p for patch versions. This...
authorJohn Mylchreest <johnm@gentoo.org>
Mon, 27 Dec 2004 13:31:48 +0000 (13:31 +0000)
committerJohn Mylchreest <johnm@gentoo.org>
Mon, 27 Dec 2004 13:31:48 +0000 (13:31 +0000)
eclass/kernel-2.eclass

index 6be662e3c06f73cb219cd4587b59b8ee90f74c43..190768fa3b397f92c5e26c43a898923bdfa7686d 100644 (file)
@@ -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)