summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlnet
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-31 18:44:35 +0000
committerKarl Berry <karl@freefriends.org>2019-12-31 18:44:35 +0000
commit601d6dcb85e8ad0a55f27f1a04eb1cabf85f8f91 (patch)
tree0ea54cbf1e8919d7cb87129e93d3e04abb38ca7c /Master/tlpkg/bin/tl-update-tlnet
parente826b5fd3dace2700ef1a5c9306c78e6c19c7e60 (diff)
run test installation and subsequent tests with PATH=/usr/bin (only),
so that we do not find our own mktexlsr, etc., and think it's succeeded when the installation is broken. (Also renice.) https://tug.org/pipermail/tex-live/2019-December/044611.html (and related reports) git-svn-id: svn://tug.org/texlive/trunk@53277 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlnet')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlnet5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet
index 7125723bc01..50e98e7d713 100755
--- a/Master/tlpkg/bin/tl-update-tlnet
+++ b/Master/tlpkg/bin/tl-update-tlnet
@@ -9,6 +9,7 @@
# all as specified in the options.
vc_id='$Id$'
+renice 20 $$ >&/dev/null
unset CDPATH
unset LS_COLORS
@@ -151,6 +152,10 @@ instopt_adjustrepo 1
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.
+PATH=/usr/bin
+
tlnet_install_log=`pwd`/update-tlnet-install.log
echo "$0: Running test install (log: $tlnet_install_log)..."
perl install-tl -location $tltry -profile texlive.profile \