Bug#428448: tex-common: user mode in update-fontlang: Does not create TEXMFVAR
Ralf Stubner <ralf.stubner@web.de> wrote:
>> texmfvar=$(kpsewhich --expand-path '$TEXMFVAR')
>> if ! echo "$texmfvar" | grep -e ':'; then
>> output_file="$texmfvar/$PATH_COMPONENT/$DEFAULT_OUTPUTFILE_BASENAME"
[...]
> One could use
>
> texmfvar=$(kpsewhich --var-value=TEXMFVAR)
>
> which works even when the directory in question does not yet exist.
Yes - but then the grep must be for ',', and I hope that is all that
needs to be changed.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: