summaryrefslogtreecommitdiff
path: root/guix/build/java-utils.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build/java-utils.scm')
-rw-r--r--guix/build/java-utils.scm2
1 files changed, 1 insertions, 1 deletions
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")))