fix file names in repackjre (#7)

Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
This commit is contained in:
alexytomi 2025-08-28 19:39:27 +08:00 committed by GitHub
commit 8823652f74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ copyjvmlib() {
makearch () {
echo "Making $2...";
cd "$work";
tar xf $(find "$in" -name jre${TARGET_VERSION}-$2-*release.tar.xz) > /dev/null 2>&1;
tar xf $(find "$in" -name jre${TARGET_VERSION}-android-$2-*release.tar.xz) > /dev/null 2>&1;
mv bin "$work1"/;
mkdir -p "$work1"/lib;
@ -57,7 +57,7 @@ makearch () {
makeuni () {
echo "Making universal...";
cd "$work";
tar xf $(find "$in" -name jre${TARGET_VERSION}-arm64-*release.tar.xz) > /dev/null 2>&1;
tar xf $(find "$in" -name jre${TARGET_VERSION}-android-arm64-*release.tar.xz) > /dev/null 2>&1;
rm -rf bin;
rm -rf lib/server;