summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-04-17 06:46:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-04-17 06:46:14 +0000
commita129e59a74b045344d093871cffc9996a0b7d397 (patch)
tree90c9e484f0b0747dbdd3df8820494d6e7a18d90b /Build/source
parent0c8314dc7463b680dcbac592106ca866d7367ef1 (diff)
Sync Master => Build
git-svn-id: svn://tug.org/texlive/trunk@36884 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rwxr-xr-xBuild/source/texk/texlive/tl_scripts/fmtutil-sys.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/Build/source/texk/texlive/tl_scripts/fmtutil-sys.sh b/Build/source/texk/texlive/tl_scripts/fmtutil-sys.sh
index 0dde367952c..c32303f8a7f 100755
--- a/Build/source/texk/texlive/tl_scripts/fmtutil-sys.sh
+++ b/Build/source/texk/texlive/tl_scripts/fmtutil-sys.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# fmtutil-sys - arrange for fmtutil to affect system directories.
+# fmtutil-sys - arrange for fmtutil to affect system directories.
# Public domain. Originally written by Thomas Esser.
test -f /bin/ksh && test -z "$RUNNING_KSH" \
@@ -13,19 +13,12 @@ test -f /bin/bsh && test -z "$RUNNING_BSH" \
&& { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
unset RUNNING_BSH
-# hack around a bug in zsh:
-test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-
# preferentially use subprograms from our own directory.
mydir=`echo "$0" | sed 's,/[^/]*$,,'`
mydir=`cd "$mydir" && pwd`
PATH="$mydir:$PATH"; export PATH
-v=`kpsewhich -var-value TEXMFSYSVAR`
-c=`kpsewhich -var-value TEXMFSYSCONFIG`
-
-TEXMFVAR="$v"
-TEXMFCONFIG="$c"
-export TEXMFVAR TEXMFCONFIG
+# hack around a bug in zsh:
+test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
-exec fmtutil ${1+"$@"}
+exec fmtutil --sys ${1+"$@"}