diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-05-15 00:12:49 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-17 15:16:44 +0200 |
commit | 1adf49df292f415d0c1924cae6d398acd3e87472 (patch) | |
tree | da9c94a288d2d86368e3a851bd567b90e1bf9e0e | |
parent | 8a938d4b79dc30d5b791b6779dae6d974fb81667 (diff) | |
download | guix-1adf49df292f415d0c1924cae6d398acd3e87472.tar.gz |
gnu: openjdk11: Simplify snippet.
* gnu/packages/java.scm (openjdk11)[source]: Use regular expression in find-files.
-rw-r--r-- | gnu/packages/java.scm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index ba98182ede..f76dfc8681 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -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")) |