[tex-live] Bug in TL infra

Axel Kielhorn tex at axelkielhorn.de
Wed Jun 1 17:31:06 CEST 2016


> Am 31.05.2016 um 23:42 schrieb Karl Berry <karl at freefriends.org>:
> 
> Hi Axel,
> 
>    A space in a filename is a really bad thing.
> 
> We go to great lengths to support spaces in file/directory names in
> general.  Obviously we fell down when it comes to runme.sh.

„Macintosh HD“ is the default name for the first volume on Mac OS since ages.
This would normally not be a problem, since runme.sh uses the path:

/usr/local/texlive/2016

But I have a dual boot system with TeXLive on one volume and some links on the other.
When I run runme.sh on the second system the path will be turned into

/Volumen/Macntosh HD/usr local/texlive/2016

Thus an ordinary user will probably not fall into that trap.

This also explains why an infra update sometimes success (run on system 1) and sometimes fails (run on system 2). I didn’t realize that this was a problem since everything else works.

>  I'll
> install your fix and work further on it after updates resume.
> 
> -  for a in $ROOT/bin/*; do
> +  for a in "$ROOT/bin/*"; do
> 
> I'm guessing that should be "$ROOT"/bin/* -- want the wildcard
> expansion, not a literal "*“.

Ooops, you are right.

Axel




More information about the tex-live mailing list