summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
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