gnu: openjdk10: Simplify snippet.
* gnu/packages/java.scm (openjdk10)[source]: Use regular expression in find-files.master
parent
f5789c265d
commit
49ad6aec80
|
@ -1954,9 +1954,7 @@ new Date();"))
|
|||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
`(begin
|
||||
(for-each delete-file (find-files "." ".*.bin$"))
|
||||
(for-each delete-file (find-files "." ".*.exe$"))
|
||||
(for-each delete-file (find-files "." ".*.jar$"))
|
||||
(for-each delete-file (find-files "." ".*.(bin|exe|jar)$"))
|
||||
#t))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments openjdk9)
|
||||
|
|
Reference in New Issue