3
4
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: openjdk16: Use MAKE-FILE-WRITABLE.

* gnu/packages/java.scm (openjdk16)[arguments]: Do not shell out to "chmod".
This commit is contained in:
Ricardo Wurmus 2021-12-02 23:00:23 +01:00
parent 68e71fbb17
commit 345b341919
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2573,12 +2573,9 @@ new Date();"))
;; The build system copies a few .template files from the
;; source directory into the build directory and then modifies
;; them in-place. So these files have to be writable.
(for-each
(lambda (file)
(invoke "chmod" "u+w" file))
(for-each make-file-writable
(find-files "src/java.base/share/classes/jdk/internal/misc/"
"\\.template$"))
#t))))))
"\\.template$"))))))))
(home-page "https://openjdk.java.net/projects/jdk/16")))
(define-public openjdk17