summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2021-12-21 02:15:34 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-12-21 02:15:34 +0000
commit845532e3182616a5f34e59130ea567a12ed72073 (patch)
tree940f3dc55e46d4d519c4871987213b7624f8aa35
parent3f1202f1ac70246f12e6752d879cd4991067ff31 (diff)
parent55b9582ef461d848d30977f53e2abb14934664ac (diff)
downloadjdk11-845532e3182616a5f34e59130ea567a12ed72073.tar.gz
Merge "Copy remote_toolchain_inputs files when updating JDK" am: 023f88db78 am: fc42de64c7 am: 55b9582ef4
Original change: https://android-review.googlesource.com/c/platform/prebuilts/jdk/jdk11/+/1928397 Change-Id: Id868720766c0d3541ec15eb33e8a9f0d3a3276bd
-rwxr-xr-xupdate.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 858ff57..14b3397 100755
--- a/update.sh
+++ b/update.sh
@@ -34,6 +34,10 @@ touch staging/darwin-x86/MODULE_LICENSE_GPL
rm -f ${LINUX_ZIP} ${DARWIN_ZIP}
+# Copy the RBE toolchain inputs files from the previous version to the staging
+# directory.
+cp linux-x86/bin/*_remote_toolchain_inputs staging/linux-x86/bin
+
version=$(staging/linux-x86/bin/java -version 2>&1 | grep "OpenJDK Runtime Environment" | sed -e 's/.*(\(.*\))/\1/')
# Commit to staging