diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-22 16:05:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-22 16:05:18 +0000 |
commit | 81ded10ef06e5d6301899b8aaf098953e7bfc3e7 (patch) | |
tree | c0db280afbd903740e7cc8249e9638d3c7235c52 /Build/source/texk/kpathsea/mktexmf | |
parent | 9c0e439e5a92dd81f8125232b68d97de85a19b4a (diff) |
$name for csso12*, from Debian/Norbert
git-svn-id: svn://tug.org/texlive/trunk@26569 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/mktexmf')
-rwxr-xr-x | Build/source/texk/kpathsea/mktexmf | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Build/source/texk/kpathsea/mktexmf b/Build/source/texk/kpathsea/mktexmf index bf30feece8f..314b7af2e72 100755 --- a/Build/source/texk/kpathsea/mktexmf +++ b/Build/source/texk/kpathsea/mktexmf @@ -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 |