summaryrefslogtreecommitdiff
path: root/Master/bin/x86_64-darwin/mktexmf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/x86_64-darwin/mktexmf')
-rwxr-xr-xMaster/bin/x86_64-darwin/mktexmf21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/bin/x86_64-darwin/mktexmf b/Master/bin/x86_64-darwin/mktexmf
index 2bd683c7f0a..d5c77a8856d 100755
--- a/Master/bin/x86_64-darwin/mktexmf
+++ b/Master/bin/x86_64-darwin/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