summaryrefslogtreecommitdiff
path: root/Master/bin/i386-linux/fmtutil
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-07 23:44:09 +0000
committerKarl Berry <karl@freefriends.org>2009-06-07 23:44:09 +0000
commit3f49bad6cd5234b4e0ea156f6f68f6430643c10f (patch)
treed10c8bd7bbd9ee14004d002669aaa9179cd32840 /Master/bin/i386-linux/fmtutil
parent10282747f337c3ca24519d395f4fd5ee5672cba7 (diff)
first commit of i386-linux binaries for TL09
git-svn-id: svn://tug.org/texlive/trunk@13663 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-linux/fmtutil')
-rwxr-xr-xMaster/bin/i386-linux/fmtutil7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/bin/i386-linux/fmtutil b/Master/bin/i386-linux/fmtutil
index f86a06003de..a2d3808b988 100755
--- a/Master/bin/i386-linux/fmtutil
+++ b/Master/bin/i386-linux/fmtutil
@@ -607,15 +607,16 @@ parse_line()
texargs="$@"
- eval lastarg=\$$#
- inifile=`echo $lastarg | sed 's%^\*%%'`
-
case "$engine" in
mpost) fmtfile="$format.mem"; kpsefmt=mp; texengine=metapost;;
mf|mfw|mf-nowin) fmtfile="$format.base"; kpsefmt=mf; texengine=metafont;;
*) fmtfile="$format.fmt"; kpsefmt=tex; texengine=$engine;;
esac
+ # remove any * for the sake of the kpsewhich lookup.
+ eval lastarg=\$$#
+ inifile=`echo $lastarg | sed 's%^\*%%'`
+
# See if we can find $inifile for return code:
kpsewhich -progname=$format -format=$kpsefmt $inifile >/dev/null 2>&1
}