From 7f902d368de9d5539ae0caf531fe64bca5339c5f Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 1 Jun 2021 00:44:21 +0200 Subject: [PATCH] guix: java-utils: Look for actual jar files. * guix/build/java-utils.scm (install-from-pom): Fix `find-files` to look only for jar files. --- guix/build/java-utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/java-utils.scm b/guix/build/java-utils.scm index 5a54a14c1b..87c3ac43c9 100644 --- a/guix/build/java-utils.scm +++ b/guix/build/java-utils.scm @@ -125,7 +125,7 @@ the phase fails." version ".jar")))) ;; Otherwise, we try to find any jar file. (jars (if (null? jars) - (find-files "." ".*.jar") + (find-files "." "\\.jar$") jars)) (jar-name (string-append repository artifact "-" version ".jar")) (pom-name (string-append repository artifact "-" version ".pom")))