diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-29 22:19:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-29 22:19:37 +0000 |
commit | 3f99609b0e6bb17494a6f8bd9d49033f50762c74 (patch) | |
tree | 4ac378cad506301118384f2b1e780a9b621a3c6d /Master | |
parent | f986a3ece89d5a0745627f78a2c05e26b5e70c95 (diff) |
skip mactex files when setting up trial dir.
git-svn-id: svn://tug.org/texlive/trunk@44116 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-tlnet | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet index c9a391d4b60..85b94a544f0 100755 --- a/Master/tlpkg/bin/tl-update-tlnet +++ b/Master/tlpkg/bin/tl-update-tlnet @@ -78,7 +78,16 @@ cp --force --backup $tlweb/tlpkg/texlive.tlpdb* /tmp rm -rf $tltrybase mkdir -p $tltry chmod g+w $tltry -cp -al $tlweb/* $tltry # assuming GNU cp + +# cp/link files in a loop so we can exclude the mactex files, which is a +# waste of time, and more importantly can uselessly fail due to permissions. +for f in $tlweb/*; do + if echo "$f" | grep mactex >/dev/null; then + : # skip mactex + else + cp -al "$f" $tltry # assume GNU cp so we can link instead of copy + fi +done # Update packages in our working dir. echo "$0: Updating $tltry with cow-shell..." |