summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-09-18 14:51:09 +0000
committerNorbert Preining <preining@logic.at>2012-09-18 14:51:09 +0000
commite64bc0109197e086aa5f6810ff87fe5ee69c8153 (patch)
treef7bec965dedd40c4e53427c52516adade88dd22a /Build
parent68b6b30490ceea01394fd7dd96d730174db1b41d (diff)
updmap-setup-kanji:
- update from Build/source/extra/jfontmaps - add -sys.sh script to all bin dirs and scripts etc - adjust tlpsrc git-svn-id: svn://tug.org/texlive/trunk@27689 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh31
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji-sys.sh31
-rw-r--r--Build/source/texk/texlive/linked_scripts/scripts.lst1
3 files changed, 63 insertions, 0 deletions
diff --git a/Build/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh b/Build/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh
new file mode 100755
index 00000000000..f84fcd7a671
--- /dev/null
+++ b/Build/source/extra/jfontmaps/script/updmap-setup-kanji-sys.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# updmap-setup-kanji-sys:
+# copy of fmtutil-sys by Thomas Esser, public domain.
+
+# wrapper script for updmap-setup-kanji 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
+
+# hack around a bug in zsh:
+test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
+export PATH
+
+v=`kpsewhich -var-value TEXMFSYSVAR`
+c=`kpsewhich -var-value TEXMFSYSCONFIG`
+
+TEXMFVAR="$v"
+TEXMFCONFIG="$c"
+export TEXMFVAR TEXMFCONFIG
+
+exec updmap-setup-kanji ${1+"$@"}
+
diff --git a/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji-sys.sh b/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji-sys.sh
new file mode 100755
index 00000000000..f84fcd7a671
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/jfontmaps/updmap-setup-kanji-sys.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# updmap-setup-kanji-sys:
+# copy of fmtutil-sys by Thomas Esser, public domain.
+
+# wrapper script for updmap-setup-kanji 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
+
+# hack around a bug in zsh:
+test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
+export PATH
+
+v=`kpsewhich -var-value TEXMFSYSVAR`
+c=`kpsewhich -var-value TEXMFSYSCONFIG`
+
+TEXMFVAR="$v"
+TEXMFCONFIG="$c"
+export TEXMFVAR TEXMFCONFIG
+
+exec updmap-setup-kanji ${1+"$@"}
+
diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst
index 72f6aded605..d9687ff40c2 100644
--- a/Build/source/texk/texlive/linked_scripts/scripts.lst
+++ b/Build/source/texk/texlive/linked_scripts/scripts.lst
@@ -69,6 +69,7 @@ fontools/ot2kpx
fragmaster/fragmaster.pl
glossaries/makeglossaries
jfontmaps/updmap-setup-kanji.pl
+jfontmaps/updmap-setup-kanji-sys.sh
latex2man/latex2man
latexdiff/latexdiff.pl
latexdiff/latexdiff-vc.pl