On 9/18/2020 2:49 PM, Arthur Reutenauer wrote:
On Fri, Sep 18, 2020 at 01:48:16PM +0200, Felix Krause wrote:
In your case validformatpath is a subdirectory of $TMPDIR, under /var/folders/. However, if your Mac is anything like mine, /var is actually a symbolic link to /private/var, so that dir.current() reports a path starting with /private and the test fails.
Yes, this is the setup here as well.
That was rhetorical :-) /var and /tmp (as well as /etc) have been symbolic links for at least ten years, probably earlier.
You can work around that by setting TMPDIR to some other value, that doesn’t start with /var -- and not /tmp either because that’s also a symbolic link :-) It should work with a temporary directory in your home folder. Can you try that?
This works. Thanks a lot (also to everyone else involved)!
Glad to hear that, and you’re welcome, but this should also be fixed in ConTeXt -- Hans, can you do something about that? It should be enough to resolve symbolic links on either sides of the test dir.current() ~= validformatpath I need to find a problematic mac ... I remember that Taco did some tests recently so I'll ask him.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------