diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2004-01-29 16:18:07 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2004-01-29 16:18:07 +0000 |
commit | 0eff31786227d8f685e38cbe1cfd0c987f58cc1f (patch) | |
tree | a45f0638ed6781cc470e387922fb5d5f5bda25a6 /eclass | |
parent | amd64 keyword (diff) | |
download | historical-0eff31786227d8f685e38cbe1cfd0c987f58cc1f.tar.gz historical-0eff31786227d8f685e38cbe1cfd0c987f58cc1f.tar.bz2 historical-0eff31786227d8f685e38cbe1cfd0c987f58cc1f.zip |
Add quotes in is_kernel() to prevent too many arguments error, reported by Chainsaw on FreeNode.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfree.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/xfree.eclass b/eclass/xfree.eclass index e39fe64b2012..ca18fd6af5b2 100644 --- a/eclass/xfree.eclass +++ b/eclass/xfree.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.11 2003/10/20 07:13:14 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.12 2004/01/29 16:18:07 spyderous Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # @@ -53,7 +53,7 @@ get_KV_info() { is_kernel() { get_KV_info - if [ "${KV_major}" -eq ${1} -a "${KV_minor}" -eq ${2} ] + if [ "${KV_major}" -eq "${1}" -a "${KV_minor}" -eq "${2}" ] then return 0 else |