aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2016-09-14 15:45:20 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2016-09-14 15:45:20 -0400
commit5b3a6639649e27831b165a59a65f1378369050a0 (patch)
tree73988cc9d78a8c73174fac4338907ebdc7741009
parentoperate in /tmp/stage1root as appropriate during stage1 (diff)
downloadcatalyst-5b3a6639649e27831b165a59a65f1378369050a0.tar.gz
catalyst-5b3a6639649e27831b165a59a65f1378369050a0.tar.bz2
catalyst-5b3a6639649e27831b165a59a65f1378369050a0.zip
if CHOST is being reset that should have already been handled in make.conf so let's just use whatever portage thinks the CHOST is. seems safe
-rwxr-xr-xtargets/support/chroot-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
index fe39251f..ed8da84f 100755
--- a/targets/support/chroot-functions.sh
+++ b/targets/support/chroot-functions.sh
@@ -146,7 +146,7 @@ setup_myemergeopts(){
setup_binutils(){
if [ -x /usr/bin/binutils-config ]
then
- my_binutils=$( cd /etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 )
+ my_binutils=$( cd /etc/env.d/binutils; ls ${CHOST}-* | head -n 1 )
if [ -z "${my_binutils}" ]
then
my_binutils=1
@@ -158,7 +158,7 @@ setup_binutils(){
setup_gcc(){
if [ -x /usr/bin/gcc-config ]
then
- my_gcc=$( cd /etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 )
+ my_gcc=$( cd /etc/env.d/gcc; ls ${CHOST}-* | head -n 1 )
if [ -z "${my_gcc}" ]
then
my_gcc=1