diff options
author | Markus Meier <maekke@gentoo.org> | 2009-10-11 11:48:33 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-10-11 11:48:33 +0000 |
commit | 798bc3a163689c19f3b32d986174d7de2b623572 (patch) | |
tree | e594e6642f48baca7b872f888f9983dbf5c9c9b0 /eclass/linux-info.eclass | |
parent | whitespace (diff) | |
download | gentoo-2-798bc3a163689c19f3b32d986174d7de2b623572.tar.gz gentoo-2-798bc3a163689c19f3b32d986174d7de2b623572.tar.bz2 gentoo-2-798bc3a163689c19f3b32d986174d7de2b623572.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 } |