From d4cfadbbd78217f75eb79c1060109973e4dd9fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20Kujanp=C3=A4=C3=A4?= Date: Sun, 4 Oct 2020 23:58:30 +0300 Subject: [PATCH] Fix #2071 * Implemented with proposed fix * Future-proofing for newer major releases --- demos/altjs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/altjs/Makefile b/demos/altjs/Makefile index 8cd21a0..b71399f 100644 --- a/demos/altjs/Makefile +++ b/demos/altjs/Makefile @@ -53,8 +53,8 @@ rhino.jar: if [ ! -e rhino ]; then git clone --depth=1 https://github.com/mozilla/rhino; fi #if [ ! -e rhino/build/rhino*/js.jar ]; then cd rhino; ant jar; fi #cp rhino/build/rhino*/js.jar rhino.jar - if [ ! -e rhino/buildGradle/libs/rhino*.jar ]; then cd rhino; ./gradlew jar; fi - cp rhino/buildGradle/libs/rhino*.jar rhino.jar + if [ ! -e rhino/buildGradle/libs/rhino-[0-1]*.jar ]; then cd rhino; ./gradlew jar; fi + cp rhino/buildGradle/libs/rhino-[0-9]*.jar rhino.jar .PHONY: clean clean: