diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-05-14 21:31:42 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-05-15 13:09:10 +0200 |
commit | b7a1cac603817dce2d717b490d2bff29bee46ac6 (patch) | |
tree | 65a939ded6e5ec15e7e48277f3055287b2757160 | |
parent | 1130e8c8178386cf6d34c4ede7be0f5a9d30ad52 (diff) | |
download | guix-b7a1cac603817dce2d717b490d2bff29bee46ac6.tar guix-b7a1cac603817dce2d717b490d2bff29bee46ac6.tar.gz |
gnu: openjdk9: Simplify snippet.
* gnu/packages/java.scm (openjdk9)[source]: Use only one find-files
invocation.
-rw-r--r-- | gnu/packages/java.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e2f79c3dc5..d03d783448 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2016 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org> ;;; Copyright © 2017, 2019 Carlo Zancanaro <carlo@zancanaro.id.au> @@ -1808,9 +1808,8 @@ 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")) |