summaryrefslogtreecommitdiff
path: root/Master/bin/i386-kfreebsd/fmtutil
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/i386-kfreebsd/fmtutil')
-rwxr-xr-xMaster/bin/i386-kfreebsd/fmtutil5
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/bin/i386-kfreebsd/fmtutil b/Master/bin/i386-kfreebsd/fmtutil
index e3262e4737e..06ef11380b4 100755
--- a/Master/bin/i386-kfreebsd/fmtutil
+++ b/Master/bin/i386-kfreebsd/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