mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 12:47:33 -05:00
gnu: openjdk16: Use MAKE-FILE-WRITABLE.
* gnu/packages/java.scm (openjdk16)[arguments]: Do not shell out to "chmod".
This commit is contained in:
parent
68e71fbb17
commit
345b341919
1 changed files with 2 additions and 5 deletions
|
@ -2573,12 +2573,9 @@ (define-public openjdk16
|
|||
;; 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
|
||||
|
|
Loading…
Reference in a new issue