summaryrefslogtreecommitdiff
path: root/context-mkiv/context-setup-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'context-mkiv/context-setup-env.sh')
-rw-r--r--context-mkiv/context-setup-env.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/context-mkiv/context-setup-env.sh b/context-mkiv/context-setup-env.sh
index 3672555..e8367f1 100644
--- a/context-mkiv/context-setup-env.sh
+++ b/context-mkiv/context-setup-env.sh
@@ -10,9 +10,13 @@ if [[ -d /usr/share/fonts ]]; then
fi
declare -x OSFONTDIR="${font_dirs:-}"
+declare -x TEXMF="{${context_root},${HOME}/.texmf}"
declare -x TEXMFCACHE=${HOME}/.texmf/texmf-cache
-declare -x TEXMFCNF=/usr/share/texmf/texmf/web2c
-declare -x TEXOS=${context_root}/texmf-linux/bin
+declare -x TEXMFCNF=${context_root}/texmf/web2c
+# “platform” mingles architecture and OS so we neutralize it
+# to mean just the latter; that’s where the binaries go anyways.
+declare -x TEXOS=texmf-linux
declare -x MTX_PLATFORM=linux
# vim:et:ft=sh:sw=2:ts=8
+