[XeTeX] Buggy behaviour of install-xetex script

Jonathan Kew jonathan_kew at sil.org
Tue Jun 13 13:53:35 CEST 2006


On 13 Jun 2006, at 12:35 pm, Wlodek Bzyl wrote:

>
>    On Fedora 5 the following line
>
>       texbin=`readlink ${texbin}`
>
>    yields
>
>       pdfetex
>
>    instead of the full pathname
>
>      /usr/bin/pdfetex
>
>    To force the readlink program to produce the full pathname
>    it suffices to call it with `-f' option:
>
>       texbin=`readlink -f ${texbin}`
>

Oh, so Fedora has decided to make "tex" a symlink to pdfetex, rather  
than including a strictly tex-only binary. I guess that's been coming  
for a while.

Unfortunately, not all implementations of readlink support the -f  
option (e.g., BSD doesn't have it). Anyone know a simple way to do  
this portably?

JK



More information about the XeTeX mailing list