chroot-functions: Give variables more appropriate names.
authorMatt Turner <mattst88@gmail.com>
Thu, 25 Jul 2013 05:32:16 +0000 (22:32 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Jul 2013 05:32:16 +0000 (22:32 -0700)
targets/support/chroot-functions.sh

index a46268da76b7544c87c7ef79304e4ee441122de3..75ad7f9f88b7e1d6f356c9cf5a439407f6450b10 100644 (file)
@@ -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
 }