2ed75e267f
pythontex patch has been removed since termux's python now support multiprocessing!
42 lines
1.7 KiB
Diff
42 lines
1.7 KiB
Diff
--- ./texmf-dist/scripts/texlive-extra/texconfig.sh.orig 2022-05-01 22:16:51.385393535 +0200
|
|
+++ ./texmf-dist/scripts/texlive-extra/texconfig.sh 2022-05-01 22:19:42.661393413 +0200
|
|
@@ -6,14 +6,14 @@
|
|
|
|
# invoke the right shell:
|
|
|
|
-test -f /bin/ksh && test -z "$RUNNING_KSH" \
|
|
+test -f @TERMUX_PREFIX@/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+"$@"}; }
|
|
+ && { RUNNING_KSH=true; export RUNNING_KSH; exec @TERMUX_PREFIX@/bin/ksh $0 ${1+"$@"}; }
|
|
unset RUNNING_KSH
|
|
|
|
-test -f /bin/bsh && test -z "$RUNNING_BSH" \
|
|
+test -f @TERMUX_PREFIX@/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+"$@"}; }
|
|
+ && { RUNNING_BSH=true; export RUNNING_BSH; exec @TERMUX_PREFIX@/bin/bsh $0 ${1+"$@"}; }
|
|
unset RUNNING_BSH
|
|
|
|
# hack around a bug in zsh:
|
|
@@ -40,7 +40,7 @@
|
|
TEXMFDBS TEXMFINI TEXMFSCRIPTS TEXPICTS TEXPKS TEXPOOL TEXPSHEADERS
|
|
TEXSOURCES TFMFONTS TRFONTS TTFONTS VFFONTS WEB2C WEBINPUTS
|
|
"
|
|
-tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/tctmp.$$
|
|
+tmpdir=${TMPDIR-${TEMP-${TMP-@TERMUX_PREFIX@/tmp}}}/tctmp.$$
|
|
needsCleanup=false
|
|
lastUpdatedFile=
|
|
|
|
@@ -53,8 +53,8 @@
|
|
case $FMT in
|
|
"")
|
|
FMT=fmt
|
|
- test ! -x /bin/fmt && test ! -f /usr/bin/fmt &&
|
|
- { test -x /bin/adjust || test -x /usr/bin/adjust; } && FMT=adjust
|
|
+ test ! -x @TERMUX_PREFIX@/bin/fmt && test ! -f @TERMUX_PREFIX@/bin/fmt &&
|
|
+ { test -x @TERMUX_PREFIX@/bin/adjust || test -x @TERMUX_PREFIX@/bin/adjust; } && FMT=adjust
|
|
;;
|
|
*)
|
|
return
|