summaryrefslogtreecommitdiff
path: root/Master/bin/i386-kfreebsd/mktexmf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-23 21:49:55 +0000
committerKarl Berry <karl@freefriends.org>2012-05-23 21:49:55 +0000
commit8a6df385242923000d1d9f33cf3b3c7e16e4ce97 (patch)
treec236b14c7ee26146eebe47f4f0bff110f9aa3933 /Master/bin/i386-kfreebsd/mktexmf
parent6f48e0b3ae58a305764632629ee1aee2903c3db8 (diff)
new kfreebsd from abraslau
git-svn-id: svn://tug.org/texlive/trunk@26602 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-kfreebsd/mktexmf')
-rwxr-xr-xMaster/bin/i386-kfreebsd/mktexmf21
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/bin/i386-kfreebsd/mktexmf b/Master/bin/i386-kfreebsd/mktexmf
index 2bd683c7f0a..d5c77a8856d 100755
--- a/Master/bin/i386-kfreebsd/mktexmf
+++ b/Master/bin/i386-kfreebsd/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