diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2016-09-14 15:45:20 -0400 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2016-09-14 15:45:20 -0400 |
commit | 5b3a6639649e27831b165a59a65f1378369050a0 (patch) | |
tree | 73988cc9d78a8c73174fac4338907ebdc7741009 | |
parent | operate in /tmp/stage1root as appropriate during stage1 (diff) | |
download | catalyst-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-x | targets/support/chroot-functions.sh | 4 |
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 |