summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-12-30 18:36:39 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-12-30 18:36:39 +0000
commit1f5b7b12a2543bfd0c1158be58a4909e27e5c67f (patch)
tree179b04345dbf56e071a9398e19a1139d22f5a22e /eclass
parentadded ~ppc64 (diff)
downloadgentoo-2-1f5b7b12a2543bfd0c1158be58a4909e27e5c67f.tar.gz
gentoo-2-1f5b7b12a2543bfd0c1158be58a4909e27e5c67f.tar.bz2
gentoo-2-1f5b7b12a2543bfd0c1158be58a4909e27e5c67f.zip
Fixes bug #111682, thanks Dieter
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-info.eclass12
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