Small fixes.

Change-Id: Ia949ed0bc93edb78d0b029f3bd3dd584e9a00dc8
This commit is contained in:
Ying Wang 2016-03-04 13:56:23 -08:00
parent 6d813d8c92
commit f0cb397a9e

View file

@ -60,8 +60,8 @@ function build_build_var_cache()
fi fi
# Excute the script to store the "<val>=<value>" pairs as shell variables. # Excute the script to store the "<val>=<value>" pairs as shell variables.
eval "$build_dicts_script" eval "$build_dicts_script"
unset build_dicts_script
ret=$? ret=$?
unset build_dicts_script
if [ $ret -ne 0 ] if [ $ret -ne 0 ]
then then
return $ret return $ret
@ -69,7 +69,7 @@ function build_build_var_cache()
BUILD_VAR_CACHE_READY="true" BUILD_VAR_CACHE_READY="true"
} }
# Delete the build cache, so that we can still call into the build system # Delete the build var cache, so that we can still call into the build system
# to get build variables not listed in this script. # to get build variables not listed in this script.
function destroy_build_var_cache() function destroy_build_var_cache()
{ {