diff options
author | Markus Meier <maekke@gentoo.org> | 2009-10-11 11:50:21 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-10-11 11:50:21 +0000 |
commit | 2fff303310b9807e5f1702f82609976c208466ee (patch) | |
tree | 6bee3ed62a1f9cf946f661c9653e2e21e116f4a1 /eclass/linux-info.eclass | |
parent | Merge from Prefix (diff) | |
download | historical-2fff303310b9807e5f1702f82609976c208466ee.tar.gz historical-2fff303310b9807e5f1702f82609976c208466ee.tar.bz2 historical-2fff303310b9807e5f1702f82609976c208466ee.zip |
whitespace
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r-- | eclass/linux-info.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 020178e426d9..75105356ca0d 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.72 2009/09/13 20:44:11 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.73 2009/10/11 11:48:33 maekke Exp $ # # Original author: John Mylchreest <johnm@gentoo.org> # Maintainer: kernel-misc@gentoo.org @@ -382,7 +382,7 @@ kernel_is() { *) die "Error in kernel-2_kernel_is(): Too many parameters.";; esac done - + [ ${test} ${operator} ${value} ] && return 0 || return 1 } @@ -566,10 +566,10 @@ get_running_version() { # This attempts to find the version of the sources, and otherwise falls back to # the version of the running kernel. linux-info_get_any_version() { - get_version + get_version if [[ $? -ne 0 ]]; then ewarn "Unable to calculate Linux Kernel version for build, attempting to use running version" - get_running_version + get_running_version fi } |