summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-12-28 21:00:10 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-12-28 21:00:10 +0000
commit0b95cb4436e29b0b4a0c700ed63c8f76cfb5dce6 (patch)
treef72d4f45d4a02e2de032a9d23cdae0c7992233d9 /eclass/linux-info.eclass
parentKeywords ~amd64. (Manifest recommit) (diff)
downloadgentoo-2-0b95cb4436e29b0b4a0c700ed63c8f76cfb5dce6.tar.gz
gentoo-2-0b95cb4436e29b0b4a0c700ed63c8f76cfb5dce6.tar.bz2
gentoo-2-0b95cb4436e29b0b4a0c700ed63c8f76cfb5dce6.zip
Preventing -eq unary errors
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r--eclass/linux-info.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 38a47d934389..e3ef3dab9360 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.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/linux-info.eclass,v 1.12 2004/12/28 20:05:45 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.13 2004/12/28 21:00:10 johnm Exp $
#
# Description: This eclass is used as a central eclass for accessing kernel
# related information for sources already installed.
@@ -185,7 +185,7 @@ kernel_is() {
local RESULT operator value test
RESULT=0
- operator="-eq"
+ operator="="
if [ "${1}" == "lt" ]
then
operator="-lt"