summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2004-01-29 16:18:07 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2004-01-29 16:18:07 +0000
commit0eff31786227d8f685e38cbe1cfd0c987f58cc1f (patch)
treea45f0638ed6781cc470e387922fb5d5f5bda25a6 /eclass
parentamd64 keyword (diff)
downloadhistorical-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.eclass4
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