Subject: Re: [bug#48977] [PATCH 4/4] gnu: Add openjdk16.

From: Julien Lepiller <[email-masked]>
Date: Sun, 13 Jun 2021 18:02:58 +0200

Le Sat, 12 Jun 2021 20:54:49 +0100,
Pierre Langlois <[email-masked]> a écrit :

> +    (arguments
> +     (substitute-keyword-arguments (package-arguments openjdk15)
> +       ((#:phases phases)
> +        `(modify-phases ,phases
> +           (add-after 'unpack 'make-templates-writable
> +             (lambda _
> +               ;; 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))
> +                (find-files
> "src/java.base/share/classes/jdk/internal/misc/"
> +                            "\\.template"))

Should be "\\.template$", otherwise the whole series LGTM!