summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-28 23:54:43 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-28 23:54:43 +0000
commit8c8b2491caa3e58e2a8a5c90caaeae844a6468c8 (patch)
tree1a8f547b7a8f1550692b3ab693514277bde19975 /eclass/kernel.eclass
parentVersion bump (Manifest recommit) (diff)
downloadgentoo-2-8c8b2491caa3e58e2a8a5c90caaeae844a6468c8.tar.gz
gentoo-2-8c8b2491caa3e58e2a8a5c90caaeae844a6468c8.tar.bz2
gentoo-2-8c8b2491caa3e58e2a8a5c90caaeae844a6468c8.zip
fix crazy logic
Diffstat (limited to 'eclass/kernel.eclass')
-rw-r--r--eclass/kernel.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel.eclass b/eclass/kernel.eclass
index e510483d0703..81746da849ba 100644
--- a/eclass/kernel.eclass
+++ b/eclass/kernel.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.eclass,v 1.48 2004/07/19 18:58:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel.eclass,v 1.49 2004/07/28 23:54:43 vapier Exp $
#
# This eclass contains the common functions to be used by all lostlogic
# based kernel ebuilds
@@ -102,7 +102,7 @@ kernel_universal_unpack() {
cd ${S}
fi
- if [ $(kernel_is_2_4) $? == 0 -o ${ETYPE} == "headers" ]
+ if kernel_is_2_4 || [ ${ETYPE} == "headers" ]
then
# this file is required for other things to build properly,
# so we autogenerate it