diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-23 20:57:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-23 20:57:09 +0000 |
commit | ed8341447cc7f6c32b3d0b0ec21ba210deaa5d69 (patch) | |
tree | 4f8fcc1beb4e61593e16ba7dc6212497fe4e7926 /Master/tlpkg/bin/tl-update-tlnet | |
parent | 8e9eccbfc7c9128d0a654c31fecad3406199ac9b (diff) |
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
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlnet')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-tlnet | 13 |
1 files changed, 6 insertions, 7 deletions
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 |