From 8a6df385242923000d1d9f33cf3b3c7e16e4ce97 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 23 May 2012 21:49:55 +0000 Subject: new kfreebsd from abraslau git-svn-id: svn://tug.org/texlive/trunk@26602 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/i386-kfreebsd/mktexmf | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'Master/bin/i386-kfreebsd/mktexmf') 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 -- cgit v1.2.3