From 18f268e8914ec61d76d7ccf575acdd8da100247c Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 24 Jul 2013 22:32:16 -0700 Subject: [PATCH] chroot-functions: Give variables more appropriate names. --- targets/support/chroot-functions.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh index a46268da..75ad7f9f 100644 --- a/targets/support/chroot-functions.sh +++ b/targets/support/chroot-functions.sh @@ -144,24 +144,24 @@ setup_myemergeopts(){ setup_binutils(){ if [ -x /usr/bin/binutils-config ] then - mythang=$( cd /etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 ) - if [ -z "${mythang}" ] + my_binutils=$( cd /etc/env.d/binutils; ls ${clst_CHOST}-* | head -n 1 ) + if [ -z "${my_binutils}" ] then - mythang=1 + my_binutils=1 fi - binutils-config ${mythang}; update_env_settings + binutils-config ${my_binutils}; update_env_settings fi } setup_gcc(){ if [ -x /usr/bin/gcc-config ] then - mythang=$( cd /etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 ) - if [ -z "${mythang}" ] + my_gcc=$( cd /etc/env.d/gcc; ls ${clst_CHOST}-* | head -n 1 ) + if [ -z "${my_gcc}" ] then - mythang=1 + my_gcc=1 fi - gcc-config ${mythang}; update_env_settings + gcc-config ${my_gcc}; update_env_settings fi } -- 2.26.2