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
}