summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/veridex/appcompat.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/veridex/appcompat.sh b/tools/veridex/appcompat.sh
index a24e84f616..f57c8a4799 100755
--- a/tools/veridex/appcompat.sh
+++ b/tools/veridex/appcompat.sh
@@ -45,8 +45,8 @@ if [ ! -d art ]; then
fi
# Logic for setting out_dir from build/make/core/envsetup.mk:
-if [[ -z $OUT_DIR ]]; then
- if [[ -z $OUT_DIR_COMMON_BASE ]]; then
+if [[ -z "${OUT_DIR}" ]]; then
+ if [[ -z "${OUT_DIR_COMMON_BASE}" ]]; then
OUT=out
else
OUT=${OUT_DIR_COMMON_BASE}/${PWD##*/}
@@ -59,7 +59,7 @@ if [[ -z "${PACKAGING}" ]]; then
PACKAGING=${OUT}/target/common/obj/PACKAGING
fi
-if [ -z "$ANDROID_HOST_OUT" ] ; then
+if [[ -z "${ANDROID_HOST_OUT}" ]]; then
ANDROID_HOST_OUT=${OUT}/host/linux-x86
fi