From 3f99609b0e6bb17494a6f8bd9d49033f50762c74 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 29 Apr 2017 22:19:37 +0000 Subject: skip mactex files when setting up trial dir. git-svn-id: svn://tug.org/texlive/trunk@44116 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-tlnet | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (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 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..." -- cgit v1.2.3