summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/veridex/appcompat.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/veridex/appcompat.sh b/tools/veridex/appcompat.sh
index 9a24d82c9b..a24e84f616 100755
--- a/tools/veridex/appcompat.sh
+++ b/tools/veridex/appcompat.sh
@@ -55,7 +55,9 @@ else
OUT=${OUT_DIR}
fi
-PACKAGING=${OUT}/target/common/obj/PACKAGING
+if [[ -z "${PACKAGING}" ]]; then
+ PACKAGING=${OUT}/target/common/obj/PACKAGING
+fi
if [ -z "$ANDROID_HOST_OUT" ] ; then
ANDROID_HOST_OUT=${OUT}/host/linux-x86