git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1353
d1e1f19c-881f-0410-ab34-
b69fee027534
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 05 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/support/chroot-functions.sh:
+ Changed make_destpath to write out ROOT to make.conf, rather than (ab)using
+ the environment.
+
05 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
targets/support/kmerge.sh:
Added an additional make_destpath call to kmerge.sh so it'll export ROOT=/
make_destpath() {
if [ "${1}" = "" ]
then
- export ROOT=/
+ # ROOT is / by default, so remove any ROOT= settings from make.conf
+ sed -i '/ROOT=/d' /etc/make.conf
else
- export ROOT=${1}
+ echo "ROOT=\"${1}\"" >> /etc/make.conf
if [ ! -d ${ROOT} ]
then
install -d ${ROOT}