From: Matt Turner Date: Thu, 25 Jul 2013 05:32:16 +0000 (-0700) Subject: chroot-functions: Give variables more appropriate names. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18f268e8914ec61d76d7ccf575acdd8da100247c;p=catalyst.git chroot-functions: Give variables more appropriate names. --- 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 }