summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-01 01:31:19 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-01 01:31:19 +0000
commitb9e320c24fab11706b59301a8bb77484643000f3 (patch)
tree954251ed92d21ea0a522228066289480c069c8ee /eclass
parentNew release: 1.7 (bug #142346). (diff)
downloadgentoo-2-b9e320c24fab11706b59301a8bb77484643000f3.tar.gz
gentoo-2-b9e320c24fab11706b59301a8bb77484643000f3.tar.bz2
gentoo-2-b9e320c24fab11706b59301a8bb77484643000f3.zip
drop pointless use ppc wrap around sed
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 798a61b34cb0..11c5aaa5d672 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.184 2006/07/28 21:01:28 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.185 2006/08/01 01:31:19 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -390,15 +390,15 @@ universal_unpack() {
find . -iname "*~" -exec rm {} \; 2> /dev/null
# fix a problem on ppc where TOUT writes to /usr/src/linux breaking sandbox
- use ppc && \
- sed -ie 's|TOUT := .tmp_gas_check|TOUT := $(T).tmp_gas_check|' \
+ sed -i \
+ -e 's|TOUT := .tmp_gas_check|TOUT := $(T).tmp_gas_check|' \
"${S}"/arch/ppc/Makefile
}
unpack_set_extraversion() {
cd "${S}"
sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" Makefile
- cd ${OLDPWD}
+ cd "${OLDPWD}"
}
# Should be done after patches have been applied