summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-12-27 13:31:48 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-12-27 13:31:48 +0000
commit5c1078487b29872dbfe01de4a1ec10660cce34f2 (patch)
treedb00a5e37f9e84d6a885c25c8d5a430bc34adbc3 /eclass
parentAdded test version. (diff)
downloadhistorical-5c1078487b29872dbfe01de4a1ec10660cce34f2.tar.gz
historical-5c1078487b29872dbfe01de4a1ec10660cce34f2.tar.bz2
historical-5c1078487b29872dbfe01de4a1ec10660cce34f2.zip
Changing OKV to exclude _p* not just _pre*, GMSoft uses _p for patch versions. This solves the problem with hppa
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass4
1 files changed, 2 insertions, 2 deletions
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)