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: Sun, 06 Sep 2009 23:31:51
Message-Id: E1MkRD1-0004XD-Mw@stork.gentoo.org
1 robbat2 09/09/06 23:31:47
2
3 Modified: linux-info.eclass
4 Log:
5 Bug 283320: Minor bug from the refactoring.
6
7 Revision Changes Path
8 1.67 eclass/linux-info.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?rev=1.67&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?rev=1.67&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/linux-info.eclass?r1=1.66&r2=1.67
13
14 Index: linux-info.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
17 retrieving revision 1.66
18 retrieving revision 1.67
19 diff -p -w -b -B -u -u -r1.66 -r1.67
20 --- linux-info.eclass 6 Sep 2009 23:24:49 -0000 1.66
21 +++ linux-info.eclass 6 Sep 2009 23:31:47 -0000 1.67
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.66 2009/09/06 23:24:49 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.67 2009/09/06 23:31:47 robbat2 Exp $
27 #
28 # Original author: John Mylchreest <johnm@g.o>
29 # Maintainer: kernel-misc@g.o
30 @@ -566,7 +566,7 @@ get_running_version() {
31 # the version of the running kernel.
32 linux-info_get_any_version() {
33 get_version
34 - if [[ $rc -ne 0 ]]; then
35 + if [[ $? -ne 0 ]]; then
36 ewarn "Unable to calculate Linux Kernel version for build, attempting to use running version"
37 get_running_version
38 fi