diff options
author | John Mylchreest <johnm@gentoo.org> | 2005-12-30 18:36:39 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2005-12-30 18:36:39 +0000 |
commit | 8d8b01441914ef899086840cddfbb74ff20cb6ed (patch) | |
tree | e659a6569e7d204a104085870c564d583e307c32 /eclass | |
parent | added ~ppc64 (diff) | |
download | historical-8d8b01441914ef899086840cddfbb74ff20cb6ed.tar.gz historical-8d8b01441914ef899086840cddfbb74ff20cb6ed.tar.bz2 historical-8d8b01441914ef899086840cddfbb74ff20cb6ed.zip |
Fixes bug #111682, thanks Dieter
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-info.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index f78d2d594006..4bc73af867fb 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.33 2005/12/30 18:22:44 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.34 2005/12/30 18:36:39 johnm Exp $ # # Description: This eclass is used as a central eclass for accessing kernel # related information for sources already installed. @@ -109,15 +109,15 @@ local ERROR workingdir basefname basedname myARCH="${ARCH}" eerror "getfilevar requires 2 variables, with the second a valid file." eerror " getfilevar <VARIABLE> <CONFIGFILE>" else - workingdir=${PWD} - basefname=$(basename ${2}) - basedname=$(dirname ${2}) + workingdir="${PWD}" + basefname="$(basename ${2})" + basedname="$(dirname ${2})" unset ARCH - cd ${basedname} + cd "${basedname}" echo -e "include ${basefname}\ne:\n\t@echo \$(${1})" | \ make ${BUILD_FIXES} -s -f - e 2>/dev/null - cd ${workingdir} + cd "${workingdir}" ARCH=${myARCH} fi |