Fix art release zip generation in host tools script
Bug: 301611056, 249088727
Test: https://android-build.corp.google.com/abtd/run/L48500030000993925/
Change-Id: I4b7d6bcbc23f15b19bbad1e6e87fda684d23035e
diff --git a/tools/build-linux-x86-host-tools.sh b/tools/build-linux-x86-host-tools.sh
index 07075bb..c0483fa 100755
--- a/tools/build-linux-x86-host-tools.sh
+++ b/tools/build-linux-x86-host-tools.sh
@@ -44,8 +44,8 @@
-j ${HOST_BINARIES[*]/#/-f }
# Build art_release.zip and copy only art jars in a temporary zip
-build/soong/soong_ui.bash --make-mode dist "${OUT_DIR}/dist/art_release.zip"
-prebuilts/build-tools/linux-x86/bin/zip2zip -i "${OUT_DIR}/dist/art_release.zip" \
+build/soong/soong_ui.bash --make-mode dist "${DIST_DIR}/art_release.zip"
+prebuilts/build-tools/linux-x86/bin/zip2zip -i "${DIST_DIR}/art_release.zip" \
-o "${DIST_DIR}/temp-art-jars.zip" "bootjars/*"
# Merge both temporary zips into output zip