mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
cc09453862
commit
7f902d368d
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ (define* (install-from-pom pom-file)
|
|||
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")))
|
||||
|
|
Loading…
Reference in a new issue