summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2005-02-08 22:24:02 +0000
committerBenedikt Boehm <hollow@gentoo.org>2005-02-08 22:24:02 +0000
commite7d1d2978051beb7a96f400b86e091e2814fe05e (patch)
treec41528ae3b1eff2ea004fd961e7b5555b83586a2 /eclass
parentMarking stable on x86 and removing amd64 KEYWORDS, which were accidentally ad... (diff)
downloadhistorical-e7d1d2978051beb7a96f400b86e091e2814fe05e.tar.gz
historical-e7d1d2978051beb7a96f400b86e091e2814fe05e.tar.bz2
historical-e7d1d2978051beb7a96f400b86e091e2814fe05e.zip
fixed typos
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index c36834528f70..3ac5369c96e4 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.95 2005/02/08 21:57:48 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.96 2005/02/08 22:24:02 hollow Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -55,7 +55,7 @@ EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_install \
pkg_preinst pkg_postinst
export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY}]]; then
+if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then
export CTARGET=${CATEGORY/cross-}
fi
@@ -515,7 +515,7 @@ unipatch() {
[ -z ${i/*.patch*/} ] && PATCH_DEPTH=${i/*.patch/}
[ -z ${i/*.diff*/} ] && PATCH_DEPTH=${i/*.diff/}
- if [ -z "${PATCH_DEPTH}" ]; then PATCH_DEPTH=0 fi
+ if [ -z "${PATCH_DEPTH}" ]; then PATCH_DEPTH=0; fi
ebegin "Applying ${i/*\//} (-p${PATCH_DEPTH}+)"
while [ ${PATCH_DEPTH} -lt 5 ]; do