diff options
author | Karl Berry <karl@freefriends.org> | 2008-10-29 17:28:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-10-29 17:28:10 +0000 |
commit | c344c4284faf84c6ce57306e142ed3b654b0a7ca (patch) | |
tree | e4b8a06714f17e4918bfbfcf00291414d645f3de /Build/source/texk/tetex | |
parent | 37d95b39b57db1073bee5affe2a678713c189cd0 (diff) |
clarify use of * prefix
git-svn-id: svn://tug.org/texlive/trunk@11111 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tetex')
-rwxr-xr-x | Build/source/texk/tetex/fmtutil | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/tetex/fmtutil b/Build/source/texk/tetex/fmtutil index f86a06003de..a2d3808b988 100755 --- a/Build/source/texk/tetex/fmtutil +++ b/Build/source/texk/tetex/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 } |