diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-24 22:15:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-24 22:15:23 +0000 |
commit | 837fd37bfd6cfa2cfb0167b6ba076cc10d4fa919 (patch) | |
tree | afc1759cad66b6bfd129c1413d657760f63c9212 /Master/bin/i386-cygwin/mktexmf | |
parent | 8b6aa4917f960304df746f97e8861cc422c7990a (diff) |
i386-cygwin from kbrown, r26632
git-svn-id: svn://tug.org/texlive/trunk@26638 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-cygwin/mktexmf')
-rwxr-xr-x | Master/bin/i386-cygwin/mktexmf | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/bin/i386-cygwin/mktexmf b/Master/bin/i386-cygwin/mktexmf index 2bd683c7f0a..d5c77a8856d 100755 --- a/Master/bin/i386-cygwin/mktexmf +++ b/Master/bin/i386-cygwin/mktexmf @@ -7,7 +7,7 @@ # Originally written by Thomas Esser. # Public domain. -version='$Id: mktexmf 16497 2009-12-24 18:38:47Z karl $' +version='$Id: mktexmf 26569 2012-05-22 16:05:18Z karl $' progname=`echo $0 | sed 's%.*/%%'` usage="Usage: $progname FONT. @@ -36,17 +36,20 @@ if test -n "$sauterroot"; then rootfile=$sauterroot rootname=b-$rootname else - case $rootname in + case $name in # csso12[0-5][0-9] from CJK package; unsupported by mktexmf csso12[0-5][0-9]) - rootfile=;; - cs*|lcsss*|icscsc*|icstt*|ilcsss*) - rootfile=`kpsewhich cscode.mf`;; - wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*) - lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'` - rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;; + rootfile=;; *) - rootfile=`kpsewhich $rootname.mf 2>/dev/null`;; + case $rootname in + cs*|lcsss*|icscsc*|icstt*|ilcsss*) + rootfile=`kpsewhich cscode.mf`;; + wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*) + lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'` + rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;; + *) + rootfile=`kpsewhich $rootname.mf 2>/dev/null`;; + esac;; esac fi { test -z "$rootfile" || test ! -f "$rootfile"; } && exit 1 |