Update Makefile: fix jre tar.xz name check

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2023-03-31 20:58:32 +07:00
1 parent 982a6847f2
commit c4654d8bf6
1 file changed
+1 -1
+1 -1
View File
@@ -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; \