Ralf Stubner <[EMAIL PROTECTED]> 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 via email to