summaryrefslogtreecommitdiff
path: root/Master/bin/i386-cygwin/fmtutil
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-09 23:09:54 +0000
committerKarl Berry <karl@freefriends.org>2012-04-09 23:09:54 +0000
commitd11263510f8254494eac555c9a8af2fd7dee02da (patch)
treef2d6d0fbdf0e8693c52645e3f343efbfdd16d78f /Master/bin/i386-cygwin/fmtutil
parent494fe58285d81e1b7055df4c4d3eeae503d5fbf6 (diff)
propagate new fmtutil
git-svn-id: svn://tug.org/texlive/trunk@25900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-cygwin/fmtutil')
-rwxr-xr-xMaster/bin/i386-cygwin/fmtutil5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/bin/i386-cygwin/fmtutil b/Master/bin/i386-cygwin/fmtutil
index e3262e4737e..06ef11380b4 100755
--- a/Master/bin/i386-cygwin/fmtutil
+++ b/Master/bin/i386-cygwin/fmtutil
@@ -59,7 +59,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
progname=fmtutil
argv0=$0
-version='$Id: fmtutil 23149 2011-06-27 21:32:19Z karl $'
+version='$Id: fmtutil 25899 2012-04-09 23:09:26Z karl $'
cnf=fmtutil.cnf # name of the config file
export PATH
@@ -419,9 +419,10 @@ main()
need_find_hyphenfile=false
cfgparam=
cfgmaint=
- tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
verboseFlag=true
noAbortFlag=false
+ # eradicate double slashes to avoid kpathsea expansion.
+ tmpdir=`echo ${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$ | sed s,//,/,g`
# mktexfmtMode: if called as mktexfmt, set to true. Will echo the
# first generated filename after successful generation to stdout then