aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/package-bazel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/package-bazel.sh')
-rwxr-xr-xsrc/package-bazel.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/package-bazel.sh b/src/package-bazel.sh
index 19cda686cd..7851751ada 100755
--- a/src/package-bazel.sh
+++ b/src/package-bazel.sh
@@ -34,6 +34,8 @@ mkdir -p "${PACKAGE_DIR}"
trap "rm -fr ${PACKAGE_DIR}" EXIT
cp $* ${PACKAGE_DIR}
+# The server jar needs to be the first binary we extract. This is how the Bazel
+# client knows what .jar to pass to the JVM.
cp ${DEPLOY_JAR} ${PACKAGE_DIR}/A-server.jar
cp ${INSTALL_BASE_KEY} ${PACKAGE_DIR}/install_base_key
# The timestamp of embedded tools should already be zeroed out in the input zip