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}` --Wlodek Bzyl