tools/tesbuild.sh: Fix missing $ before variable name.

This commit is contained in:
Gregory Nutt 2017-07-10 10:39:31 -06:00
parent a49ec44427
commit 1bc0eea143

View File

@ -221,7 +221,7 @@ function configure {
if [ "X$toolchain" != "X" ]; then
setting=`grep TOOLCHAIN $nuttx/.config | grep -v CONFIG_ARCH_TOOLCHAIN_GNU=y | grep =y`
varname=`echo $setting | cut -d'=' -f1`
if [ ! -z "varname" ]; then
if [ ! -z "$varname" ]; then
echo " Disabling $varname"
kconfig-tweak --file $nuttx/.config --disable $varname
fi