From c4654d8bf6ccd06ae40356fccaee4e72e15c075f Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Fri, 31 Mar 2023 20:58:32 +0700 Subject: [PATCH] Update Makefile: fix jre tar.xz name check --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8b262adb..0381231e 100644 --- a/Makefile +++ b/Makefile @@ -126,7 +126,7 @@ METHOD_PACKAGE = \ # Function to download and unpack Java runtimes. METHOD_JAVA_UNPACK = \ cd $(SOURCEDIR)/depends; \ - if [ ! -f "java-$(1)-openjdk/release" ] && [ ! -f "$(ls jre8-$(1).tar.xz)" ]; then \ + if [ ! -f "java-$(1)-openjdk/release" ] && [ ! -f "$(ls jre$(1)-*.tar.xz)" ]; then \ if [ "$(RUNNER)" != "1" ]; then \ wget '$(2)' -q --show-progress; \ unzip jre*-ios-aarch64.zip && rm jre*-ios-aarch64.zip; \