[tex-k] mktexlsr

Reinhard Kotucha reinhard.kotucha at web.de
Sun Apr 19 00:21:21 CEST 2009


Hi,
I just installed TeX Live to '/usr/local/tex live/2008' but none of
the post-install steps had been executed successfully.

I didn't see any error messages, though no ls-R files and no format
and map files had been created.

mktexlsr works if it is not called with a filename in its argument
list.  Paths are taken from texmf.cnf in this case.

When I add the line

   for a in "$@"; do echo "$a"; done

to the top of the mktexlsr script and run  

  mktexlsr '/usr/local/tex live/2008/texmf-var'

I get the correct result:

/usr/local/tex live/2008/texmf-var

However, if I put an echo into the for-loop which creates the ls-R files,

for TEXMFLS_R in "$@"; do
    echo "$TEXMFLS_R"
# [...]

I get:

/usr/local/tex
live/2008/texmf-var

I have no idea what's going on, but I suppose it has to do with record
separators, I don't see that the content of "$@" is changed. 

The reason I got no error message is that mktexlsr ignores all
directories which are not in TEXMFDBS, thus it thinks it has nothing
to do.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the tex-k mailing list