diff options
author | Olaf Weber <olaf@infovore.xs4all.nl> | 2007-01-01 11:54:51 +0000 |
---|---|---|
committer | Olaf Weber <olaf@infovore.xs4all.nl> | 2007-01-01 11:54:51 +0000 |
commit | c3ef295937d604389c1ce7f325138611b2c7e653 (patch) | |
tree | ca9177ea1822f78e641c186e6e0e88b918947a41 /Master/bin/mips-irix/updmap-sys | |
parent | 90afab3aa815f233aaf0d515eb8a886fabbc635b (diff) |
Update of mips-irix binaries part 2: adding updated binaries.
git-svn-id: svn://tug.org/texlive/trunk@3088 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/mips-irix/updmap-sys')
-rwxr-xr-x | Master/bin/mips-irix/updmap-sys | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/bin/mips-irix/updmap-sys b/Master/bin/mips-irix/updmap-sys new file mode 100755 index 00000000000..6f3c8365658 --- /dev/null +++ b/Master/bin/mips-irix/updmap-sys @@ -0,0 +1,30 @@ +#!/bin/sh + +# updmap-sys: Thomas Esser, public domain. + +# wrapper script for updmap with TEXMFVAR and TEXMFCONFIG set to +# TEXMFSYSVAR / TEXMFSYSCONFIG + +test -f /bin/ksh && test -z "$RUNNING_KSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ + && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; } +unset RUNNING_KSH + +test -f /bin/bsh && test -z "$RUNNING_BSH" \ + && { UNAMES=`uname -s`; test "x$UNAMES" = xAIX; } 2>/dev/null \ + && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; } +unset RUNNING_BSH + +export PATH + +# hack around a bug in zsh: +test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' + +v=`kpsewhich -var-value TEXMFSYSVAR` +c=`kpsewhich -var-value TEXMFSYSCONFIG` + +TEXMFVAR="$v" +TEXMFCONFIG="$c" +export TEXMFVAR TEXMFCONFIG + +exec updmap ${1+"$@"} |