summaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2021-06-01 00:44:21 +0200
committerJulien Lepiller <julien@lepiller.eu>2021-06-22 13:10:36 +0200
commit7f902d368de9d5539ae0caf531fe64bca5339c5f (patch)
tree6a591e325b0604fd61a284abbb9f0859a53b75dd /guix/build
parentcc09453862d1604bbbb4a2a9487e395d9a459708 (diff)
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.
Diffstat (limited to 'guix/build')
-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")))