commit: 5b3a6639649e27831b165a59a65f1378369050a0
Author: Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 19:45:20 2016 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 19:45:20 2016 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5b3a6639
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
targets/support/chroot-functions.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/targets/support/chroot-functions.sh
b/targets/support/chroot-functions.sh
index fe39251..ed8da84 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