diff options
author | Norbert Preining <preining@logic.at> | 2015-04-15 02:42:33 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2015-04-15 02:42:33 +0000 |
commit | 0421d8c68a966eb0b8c781ffded5de8769b7f843 (patch) | |
tree | 868bcd108959eb4f0e7debc11c1956040c2284cd /Master/texmf-dist/scripts | |
parent | b626ac524ffa5351a10c5276bbc5442ea5df30bc (diff) |
use -sys instead of exporting vars for fmtutil-sys
git-svn-id: svn://tug.org/texlive/trunk@36860 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/fmtutil-sys.sh | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Master/texmf-dist/scripts/texlive/fmtutil-sys.sh b/Master/texmf-dist/scripts/texlive/fmtutil-sys.sh index a272b66d007..37fb0fafc46 100755 --- a/Master/texmf-dist/scripts/texlive/fmtutil-sys.sh +++ b/Master/texmf-dist/scripts/texlive/fmtutil-sys.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: fmtutil-sys.sh 35626 2014-11-20 19:08:47Z karl $ -# fmtutil-sys - arrange for fmtutil to affect system directories. +# $Id: updmap-sys.sh 35626 2014-11-20 19:08:47Z karl $ +# 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+"$@"} |