diff options
author | John Mylchreest <johnm@gentoo.org> | 2004-12-28 21:00:10 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2004-12-28 21:00:10 +0000 |
commit | b52832b39c6a169b03051fed3c98fe4e88fec280 (patch) | |
tree | 253bd6ce033f7f2c9e3649de117fce2140715193 /eclass | |
parent | Dependency update: dev-libs/hdf5 -> sci-libs/hdf5. (diff) | |
download | historical-b52832b39c6a169b03051fed3c98fe4e88fec280.tar.gz historical-b52832b39c6a169b03051fed3c98fe4e88fec280.tar.bz2 historical-b52832b39c6a169b03051fed3c98fe4e88fec280.zip |
Preventing -eq unary errors
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 | ||||
-rw-r--r-- | eclass/linux-info.eclass | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index cc0f45a35261..745660c5dfd1 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.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/kernel-2.eclass,v 1.64 2004/12/28 20:14:44 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.65 2004/12/28 20:58:35 johnm Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -66,7 +66,7 @@ kernel_is() { local RESULT operator value test RESULT=0 - operator="-eq" + operator="=" if [ "${1}" == "lt" ] then operator="-lt" 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" |