mkdir before calling unzip
Busybox's unzip implementation doesn't create directories passed with `-d`, and instead assumes they exist and errors if they don't.
Closes #19461.
PiperOrigin-RevId: 563833721
Change-Id: I5b67dcf8ef17d7b1fd080a54949b0a4001860330
diff --git a/src/package-bazel.sh b/src/package-bazel.sh
index b88f257..5b1441f 100755
--- a/src/package-bazel.sh
+++ b/src/package-bazel.sh
@@ -47,6 +47,7 @@
if [[ $DEV_BUILD -eq 0 ]]; then
# Unpack the deploy jar for postprocessing and for "re-compressing" to save
# ~10% of final binary size.
+ mkdir -p $RECOMP
unzip -q -d $RECOMP ${DEPLOY_JAR}
cd $RECOMP