From 7d35f001e1a02937d2d136aacfeb1ebbcd00965e Mon Sep 17 00:00:00 2001 From: Vishwath Mohan Date: Fri, 11 Mar 2016 10:00:40 -0800 Subject: [PATCH] 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 --- envsetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index 101ef1371a..3393b75317 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -89,7 +89,7 @@ function get_abs_build_var() { if [ "$BUILD_VAR_CACHE_READY" = "true" ] then - eval echo \"\${abs_var_cache_$1}\" + eval "echo \"\${abs_var_cache_$1}\"" return fi @@ -107,7 +107,7 @@ function get_build_var() { if [ "$BUILD_VAR_CACHE_READY" = "true" ] then - eval echo \"\${var_cache_$1}\" + eval "echo \"\${var_cache_$1}\"" return fi