On Mon, Jun 27, 2011 at 11:26 PM, Hans Hagen wrote: > On 27-6-2011 11:05, luigi scarso wrote: > > imo, a shift is missed >> From line 73 of mktexlsr, look at >> # ADD THIS >> below >> > > Can you find out what the complete path spec is that is used for the loop? > (It looks like TEXMFDBS is used .. I wonder why not TEXMF as it makes no > sense to use another variable.) > > The bug doesn't depend to TEXMFDBS: without the shift the input args are never consumed. The next time the while is executed, the same condition on the path is checked again and found true (i.e. it doesn't exist). The path spec are or a treefile rooted on ${TMPDIR/tmp} or, if it doesn't exist , the paths given by kpsewhich --show-path=ls-R -- luigi