Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: linux-info.eclass
Date: Tue, 08 Sep 2009 12:34:24
Message-Id: E1Mkztt-0004qz-QX@stork.gentoo.org
1 robbat2 09/09/08 12:34:21
2
3 Modified: linux-info.eclass
4 Log:
5 get_version should use linux_config_src_exists to check for source.
6
7 Revision Changes Path
8 1.71 eclass/linux-info.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?rev=1.71&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?rev=1.71&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?r1=1.70&r2=1.71
13
14 Index: linux-info.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
17 retrieving revision 1.70
18 retrieving revision 1.71
19 diff -p -w -b -B -u -u -r1.70 -r1.71
20 --- linux-info.eclass 6 Sep 2009 23:41:42 -0000 1.70
21 +++ linux-info.eclass 8 Sep 2009 12:34:21 -0000 1.71
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2006 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.70 2009/09/06 23:41:42 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.71 2009/09/08 12:34:21 robbat2 Exp $
27 #
28 # Original author: John Mylchreest <johnm@g.o>
29 # Maintainer: kernel-misc@g.o
30 @@ -511,7 +511,7 @@ get_version() {
31 KV_OUT_DIR="${KV_OUT_DIR:-${KV_DIR}}"
32
33 KV_LOCAL="${KV_LOCAL}$(get_localversion ${KV_DIR})"
34 - if linux_config_exists; then
35 + if linux_config_src_exists; then
36 KV_LOCAL="${KV_LOCAL}$(linux_chkconfig_string LOCALVERSION)"
37 KV_LOCAL="${KV_LOCAL//\"/}"