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; \