gnu: openjdk11: Simplify snippet.
* gnu/packages/java.scm (openjdk11)[source]: Use regular expression in find-files.master
parent
49ad6aec80
commit
62d46ad613
|
@ -2001,9 +2001,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))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs '("out" "jdk" "doc"))
|
||||
|
|
Reference in New Issue