> better to use > ${MT_TEXMFVAR=`kpsewhich --var-value=TEXMFVAR`} > > Looks sensible to me. Thomas? Ack. The texmfvar feature was invented by me and I also wrote the implementation that uses : ${MT_TEXMFVAR=`kpsewhich --expand-path='$TEXMFVAR'`} I think that I just was not aware of the fact that --expand-path expands to nothing if the target does not yet exist. The suggested fix looks just right. Thanks, Thomas