summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlnet
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlnet')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlnet12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet
index 2f244d4f254..0cda45f2a17 100755
--- a/Master/tlpkg/bin/tl-update-tlnet
+++ b/Master/tlpkg/bin/tl-update-tlnet
@@ -156,13 +156,18 @@ tltryinst=$tltrybase/tlinst.try
zcat $tltry/install-tl-unx.tar.gz | tar -xf -
cd install-tl-* # subdir is YYYYMMDD
-# create TL install profile:
+
+# create TL install profile. We set TEXMFCACHE for the sake of
+# luaotfload-tool, although it should fall back to TEXMFVAR,
+# which is possibly used by nothing else.
echo "# texlive-profile from $0
selected_scheme scheme-$scheme
TEXDIR $tltryinst/$yyyy
+TEXMFLOCAL $tltryinst/texmf-local
TEXMFSYSCONFIG $tltryinst/$yyyy/texmf-config
TEXMFSYSVAR $tltryinst/$yyyy/texmf-var
-TEXMFLOCAL $tltryinst/texmf-local
+TEXMFVAR $tltryinst/$yyyy/texmf-uvar
+TEXMFCACHE $tltryinst/$yyyy/texmf-cache
TEXMFHOME ~/texmf
tlpdbopt_install_docfiles 1
tlpdbopt_install_srcfiles 1
@@ -177,7 +182,8 @@ TEXLIVE_INSTALL_ENV_NOCHECK=1; export TEXLIVE_INSTALL_ENV_NOCHECK
TEXLIVE_INSTALL_NO_WELCOME=1; export TEXLIVE_INSTALL_NO_WELCOME
# Minimal PATH from here on! E.g., we don't want the test install to
-# find our own mktexlsr, but only have the programs in the test available.
+# find its own mktexlsr, but only have the programs in the test
+# environment available.
PATH=/usr/bin
tlnet_install_log=`pwd`/update-tlnet-install.log