From 5af5ed2759bf6a88a7a763a5f330a1688c50f791 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 21 Feb 2023 11:16:56 +0100 Subject: [PATCH] fix test_fill_config_defaults_java for non-amd64 arches --- tests/common.TestCase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.TestCase b/tests/common.TestCase index fe4df7fe..29b9bdc2 100755 --- a/tests/common.TestCase +++ b/tests/common.TestCase @@ -2357,7 +2357,7 @@ class CommonTest(unittest.TestCase): fdroidserver.common.fill_config_defaults(config) java_paths = [] # use presence of javac to make sure its JDK not just JRE - for f in glob.glob('/usr/lib/jvm/java-*-openjdk-amd64/bin/javac'): + for f in glob.glob('/usr/lib/jvm/java-*-openjdk-*/bin/javac'): jdk = os.path.dirname(os.path.dirname(f)) if not os.path.islink(jdk): java_paths.append(jdk)