From ed8341447cc7f6c32b3d0b0ec21ba210deaa5d69 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 23 May 2020 20:57:09 +0000 Subject: tltestnet: run tl-update-tlnet from working hierarchy, per PATH, to allow for test builds without modifying the production directory. Test hierarchy set up in /home/texlive/tstnet. tl-update-install-pkg, tl-update-tlnet, releng.txt: doc. git-svn-id: svn://tug.org/texlive/trunk@55247 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-tlnet | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-tlnet') diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet index 3a69ac806e8..1c939e28221 100755 --- a/Master/tlpkg/bin/tl-update-tlnet +++ b/Master/tlpkg/bin/tl-update-tlnet @@ -81,8 +81,9 @@ $Master/tlpkg/bin/tl-check-symlinks $Master/bin test -z "$tltrybase" \ && tltrybase=`cd $tlweb/../.. && pwd`/tlnet-trial-`date +%y%m%d` tltry=$tltrybase/tlsrc.try -echo "$0: Using tltry=$tltry" # local working dir -echo "$0: Using tlweb=$tlweb" # top level network directory, mirrored +echo "$0: running from Master=$Master" +echo "$0: working in tltry=$tltry" +echo "$0: output to tlweb=$tlweb" # Save current tlpdb in case of disaster. cp --force --backup $tlweb/tlpkg/texlive.tlpdb* /tmp @@ -104,15 +105,13 @@ for f in $tlweb/*; do : # skip mactex elif test "x$cow_shell" = xcow-shell; then cp -al "$f" $tltry # assume GNU cp so we can link instead of copy - # However, cow-shell may be introducing strange errors on the + # However, cow-shell is evidently introducing strange errors on the # tug.org server we switched to in 2020, causing the release (tlnet) # directory to be modified even when changes should be kept to the # test (tltry) directory (ultimately resulting in checksum errors # since the containers and tlpdb don't match, after a failed rebuild). - # - # We're not sure. But let's just default to straight copies, - # avoiding cow-shell, at least until we see if the problem happens - # without it, or we can get to the bottom of it. + # This can be confirmed with a test hierarchy and build; see tltestnet. + # So, do not use cow-shell. else # no cow-shell, straight copy. cp -a "$f" $tltry # still assuming GNU cp for -a -- cgit v1.2.3