Subject: Re: [bug#48463] gnu: Add j.

From: Maxime Devos <[email-masked]>
Date: Wed, 12 Jan 2022 11:10:27 +0000

Hi,
> +                ;; The jlibrary/dev directory only sometimes exists,
> but needs
> +                ;; to be copied into the ~system directory when it
> does.
> +                (for-each
> +                  (lambda (dev-dir)
> +                    (if (access? dev-dir R_OK)
> +                      (copy-recursively dev-dir
> "test/bin/system/dev")))

Are you testing for file permissions, or for the existence of the file?
If the latter, I'd recommend using 'file-exists?' instead.

> +                  (if (access? source-dev R_OK)

Likewise.

Greetings,
Maxime.