summaryrefslogtreecommitdiff
path: root/Master/bin/i386-freebsd/fmtutil
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-12-23 09:49:19 +0000
committerNorbert Preining <preining@logic.at>2009-12-23 09:49:19 +0000
commit8f0d30f2d461ba69f47843ce84fd1a0732cc7066 (patch)
tree962266d6d85352651031935ecc8def763ea492e6 /Master/bin/i386-freebsd/fmtutil
parentcb87c5ee5278c4caa6c7b5d1b2f46b007b942b63 (diff)
fmtutil: check for infinite loop only in mktexfmt mode to allow for
multiple defined format/engine combinations git-svn-id: svn://tug.org/texlive/trunk@16487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-freebsd/fmtutil')
-rwxr-xr-xMaster/bin/i386-freebsd/fmtutil5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/bin/i386-freebsd/fmtutil b/Master/bin/i386-freebsd/fmtutil
index 7b212f0e212..f12885629e2 100755
--- a/Master/bin/i386-freebsd/fmtutil
+++ b/Master/bin/i386-freebsd/fmtutil
@@ -58,7 +58,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
progname=fmtutil
argv0=$0
-version=20091009.0222
+version=20091223.1047
cnf=fmtutil.cnf # name of the config file
export PATH
@@ -714,6 +714,9 @@ run_initex()
rm -f $fmtfile
# Check for infinite recursion before running the iniTeX:
+ # We do this check only if we are running in mktexfmt mode
+ # otherwise double format definitions will create an infinite loop, too
+ $mktexfmtMode || mktexfmt_loop=
case :$mktexfmt_loop: in
*:"$format/$engine":*)
abort "Infinite recursion detected, giving up!" ;;