[tex-k] Argh! mktextfm

Thomas Esser te@informatik.uni-hannover.de
Wed, 14 Mar 2001 22:53:46 +0100 (MET)


> Forwarded:  a contributed patch!  Can a greater god than I check
> this out, bless it, and get it into perforce?  Thanks!   -tom

I prefer to follow the suggestion to swap

case "$DEST" in
  "") ;;
  /* | [A-z]:/*) # Absolute, explicit destdir => use it.
      MT_PKDESTDIR=$DEST
      MT_TFMDESTDIR=$DEST
      MT_MFDESTDIR=$DEST
      MT_NAMEPART=;;
   *) # Relative destdir => append to the default.
      MT_NAMEPART=$DEST;;
esac

and

if test -z "$MT_DESTROOT"; then
  MT_DESTROOT=$MT_DEFAULT_DESTROOT
  MT_PKDESTDIR=$MT_DEFAULT_DESTROOT
  MT_TFMDESTDIR=$MT_DEFAULT_DESTROOT
  MT_MFDESTDIR=$MT_DEFAULT_DESTROOT
fi

I.e. *first* the "if test..." block, then the "case ..." block. This
change has made it into my teTeX sources. Someone else must update the
perforce tree used for TeX Live...

Thomas