tibbs / rpms / texlive

Forked from rpms/texlive 6 years ago
Clone
4931932
#! /bin/sh /usr/share/dpatch/dpatch-run
4931932
## 41_maketexmf.dpatch
4931932
##
4931932
## All lines beginning with `## DP:' are a description of the patch.
4931932
## DP: fix for mktexmf script from perforce depot
4931932
4931932
@DPATCH@
4931932
 build/source/texk/kpathsea/mktexmf |   19 +++++++++++--------
4931932
 1 file changed, 11 insertions(+), 8 deletions(-)
4931932
4931932
Index: texlive-bin-2006.svn3816/build/source/texk/kpathsea/mktexmf
4931932
===================================================================
4931932
--- texlive-bin-2006.svn3816.orig/build/source/texk/kpathsea/mktexmf	2006-01-17 22:41:51.000000000 +0100
4931932
+++ texlive-bin-2006.svn3816/build/source/texk/kpathsea/mktexmf	2007-01-26 04:01:50.000000000 +0100
4931932
@@ -36,17 +36,20 @@
4931932
   rootfile=$sauterroot
4931932
   rootname=b-$rootname
4931932
 else
4931932
-  case $rootname in
4931932
+  case $name in
4931932
     # csso12[0-5][0-9] from CJK package; unsupported by mktexmf
4931932
     csso12[0-5][0-9])
4931932
-       rootfile=;;
4931932
-    cs*|lcsss*|icscsc*|icstt*|ilcsss*)
4931932
-       rootfile=`kpsewhich cscode.mf`;;
4931932
-    wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
4931932
-       lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
4931932
-       rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
4931932
+      rootfile=;;
4931932
     *)
4931932
-       rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
4931932
+      case $rootname in
4931932
+        cs*|lcsss*|icscsc*|icstt*|ilcsss*)
4931932
+          rootfile=`kpsewhich cscode.mf`;;
4931932
+        wn[bcdfirstuv]*|rx[bcdfiorstuvx][bcfhilmostx]|l[abcdhl][bcdfiorstuvx]*)
4931932
+          lhprefix=`echo "$name" | sed 's/^\(..\).*/\1/'`
4931932
+          rootfile=`kpsewhich ${lhprefix}codes.mf 2>/dev/null`;;
4931932
+        *)
4931932
+          rootfile=`kpsewhich $rootname.mf 2>/dev/null`;;
4931932
+      esac;;
4931932
   esac
4931932
 fi
4931932
 { test -z "$rootfile" || test ! -f "$rootfile"; } && exit 1