summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-05 16:40:40 +0000
committerKarl Berry <karl@freefriends.org>2018-03-05 16:40:40 +0000
commitd1d89472cc5d8d93558bad5df38c8c15e611b69f (patch)
treeae4ac333d7bb45c0dade101e1c0e89690564ea1a /Master/tlpkg
parent464dccf5ff2b57c260cd8cd2e35678385829ab06 (diff)
handle multiple mactex files
git-svn-id: svn://tug.org/texlive/trunk@46843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlnet4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlnet b/Master/tlpkg/bin/tl-update-tlnet
index 4727b108cb3..5322cb58335 100755
--- a/Master/tlpkg/bin/tl-update-tlnet
+++ b/Master/tlpkg/bin/tl-update-tlnet
@@ -258,7 +258,9 @@ if $chicken; then
else
echo "$0: Updating $tlweb from $tltry."
# copy any mactex files since we didn't link them.
- test ! -r $tlweb/*mactex* || cp -pf $tlweb/*mactex* $tltry
+ for f in $tlweb/*mactex*; do
+ test ! -r $f || cp -pf $f $tltry
+ done
# mv then rm to avoid the mirmon probe from making the rm fail.
mv $tlweb $tltrybase/tlnet.old