summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-02-01 09:13:47 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-02-01 09:13:47 +0000
commitd69a8a6a8dca3c6048157b9586d0667275a6361f (patch)
tree8fc2c9c03b04077beaac034f58051cb74fbd1b89 /eclass/linux-info.eclass
parent(Portage version: 2.0.51-r15) (Manifest recommit) (diff)
downloadgentoo-2-d69a8a6a8dca3c6048157b9586d0667275a6361f.tar.gz
gentoo-2-d69a8a6a8dca3c6048157b9586d0667275a6361f.tar.bz2
gentoo-2-d69a8a6a8dca3c6048157b9586d0667275a6361f.zip
Fixing up set_arch_ booboo.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r--eclass/linux-info.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 00076580cfd6..1a428338e859 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.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/linux-info.eclass,v 1.21 2005/01/31 20:03:47 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.22 2005/02/01 09:13:47 johnm Exp $
#
# Description: This eclass is used as a central eclass for accessing kernel
# related information for sources already installed.
@@ -69,8 +69,8 @@ esac
# These are legacy wrappers for toolchain-funcs.
# I dont like them here, but oh well.
-set_arch_to_kernel() { $(tc-arch-kernel); }
-set_arch_to_portage() { $(tc-arch); }
+set_arch_to_kernel() { export ARCH="$(tc-arch-kernel)"; }
+set_arch_to_portage() { export ARCH="$(tc-arch)"; }
# qeinfo "Message"
# -------------------