On Sat, 19 Nov 2016, John Kitchin wrote:
I have also seen this error on my mac. I guess it is from the trailing slash as you suggest:echo $TMPDIR/var/folders/5q/lllv2yf95hg_n6h6kjttbmdw0000gn/T/
So, : testdir=${TMPDIR%/}/tmp-orgtestin mk/default.mk would handle this on my mac, but I do not know if this is fully portable.
OTOH, (expand-file-name "test.txt") resolves double-slashes and seems like the right idiom in any case.
Chuck