Double quote some statements for zsh compatibility
Two eval commands did not enclose their arguments in double quotes, and this broke compatibility on zsh - preventing lunch from running to completion. This CL adds the double quotes and fixes the issue. Change-Id: I5ed884b455e2e61182f6c29fb807ed92372af039
This commit is contained in:
@@ -89,7 +89,7 @@ function get_abs_build_var()
|
|||||||
{
|
{
|
||||||
if [ "$BUILD_VAR_CACHE_READY" = "true" ]
|
if [ "$BUILD_VAR_CACHE_READY" = "true" ]
|
||||||
then
|
then
|
||||||
eval echo \"\${abs_var_cache_$1}\"
|
eval "echo \"\${abs_var_cache_$1}\""
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ function get_build_var()
|
|||||||
{
|
{
|
||||||
if [ "$BUILD_VAR_CACHE_READY" = "true" ]
|
if [ "$BUILD_VAR_CACHE_READY" = "true" ]
|
||||||
then
|
then
|
||||||
eval echo \"\${var_cache_$1}\"
|
eval "echo \"\${var_cache_$1}\""
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user