summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-04-11 21:37:13 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-04-11 21:37:13 +0000
commit6ffd5c9992b06b1fe6133698c8ce693c82a7297e (patch)
treee624c8e24b579defda36dfb54e4b98669cdd286c /sys-kernel/linux-headers/linux-headers-2.0.40.ebuild
parentInitial Import. Closes #47144 (diff)
downloadhistorical-6ffd5c9992b06b1fe6133698c8ce693c82a7297e.tar.gz
historical-6ffd5c9992b06b1fe6133698c8ce693c82a7297e.tar.bz2
historical-6ffd5c9992b06b1fe6133698c8ce693c82a7297e.zip
More cleanups in the sed code for setting ARCH. Eliminates the i386_64 bug on amd64.
Diffstat (limited to 'sys-kernel/linux-headers/linux-headers-2.0.40.ebuild')
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.0.40.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild b/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild
index 483ba662a8f6..00659ce7937c 100644
--- a/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild,v 1.1 2004/04/10 06:42:18 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.0.40.ebuild,v 1.2 2004/04/11 21:37:12 kumba Exp $
ETYPE="headers"
inherit kernel
@@ -38,7 +38,7 @@ pkg_setup() {
# Figure out what architecture we are, and set ARCH appropriately
ARCH="$(uname -m)"
- ARCH=`echo ${ARCH} | sed -e s/[i].86/i386/ -e s/x86/i386/`
+ ARCH="$(echo ${ARCH} | sed -e s/i.86/i386/)"
}
src_unpack() {