| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | # kanji-config-updmap-sys: |
| 4 | # copy of fmtutil-sys by Thomas Esser, public domain. |
| 5 | |
| 6 | # wrapper script for updmap-setup-kanji with TEXMFVAR and TEXMFCONFIG set to |
| 7 | # TEXMFSYSVAR / TEXMFSYSCONFIG |
| 8 | |
| 9 | testscip-shell system . . test. -f /bin/kshscip-shell filesystem . . `/bin/ksh`. && testscip-shell system . . test. -z "$RUNNING_KSH" \ |
| 10 | && { UNAMES=`unamescip-shell system . . uname. -s`; testscip-shell system . . test. "x$UNAMES" = xULTRIX; } 2>/dev/nullscip-shell filesystem . . `/dev/null`. \ |
| 11 | && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/kshscip-shell filesystem . . `/bin/ksh`. $0 ${1+"$@"}; } |
| 12 | unset RUNNING_KSH |
| 13 | |
| 14 | testscip-shell system . . test. -f /bin/bshscip-shell filesystem . . `/bin/bsh`. && testscip-shell system . . test. -z "$RUNNING_BSH" \ |
| 15 | && { UNAMES=`unamescip-shell system . . uname. -s`; testscip-shell system . . test. "x$UNAMES" = xAIX; } 2>/dev/nullscip-shell filesystem . . `/dev/null`. \ |
| 16 | && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bshscip-shell filesystem . . `/bin/bsh`. $0 ${1+"$@"}; } |
| 17 | unset RUNNING_BSH |
| 18 | |
| 19 | # hack around a bug in zsh: |
| 20 | testscip-shell system . . test. -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' |
| 21 | export PATH |
| 22 | |
| 23 | exec kanji-config-updmap --sys ${1+"$@"} |
| 24 |