fix file names in repackjre

Signed-off-by: sa1672ndo <87911255+sa1672ndo@users.noreply.github.com>
This commit is contained in:
sa1672ndo 2025-08-28 11:52:51 +03:00 committed by GitHub
parent 0b28f59414
commit aa46d619e8
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;