Bug#249597: texmf: Leaves spurious tempfiles around
On 21.05.04 Frank Küster (frank@debian.org) wrote:
Hi,
> Two problems:
>
> - if it turns out later that something went wrong, the file is lost. Not
> a big issue, since /var/lib/texmf/web2c/*.log is still there.
>
And a "grep ^! /var/lib/texmf/web2c/*.log" should not be that hard.
> - What should we do with the "Output of ... is in $TEMPFILE" message? We
> would have to define a trap and redefine it before the second
> call. (or use the same tempfile. That's probably better.)
>
How about:
if `fmtutil --all >> $TEMPFILE`; then rm $TEMPFILE; else echo -e \
"\nSomething went wrong. Output of initex is in $TEMPFILE."; fi
Don't know, how bash-specific that is.
H.
--
sigmentation fault
Reply to: