texlive[46843] Master/tlpkg/bin/tl-update-tlnet: handle multiple

commits+karl at tug.org commits+karl at tug.org
Mon Mar 5 17:40:40 CET 2018


Revision: 46843
          http://tug.org/svn/texlive?view=revision&revision=46843
Author:   karl
Date:     2018-03-05 17:40:40 +0100 (Mon, 05 Mar 2018)
Log Message:
-----------
handle multiple mactex files

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tl-update-tlnet

Modified: trunk/Master/tlpkg/bin/tl-update-tlnet
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-tlnet	2018-03-05 16:34:32 UTC (rev 46842)
+++ trunk/Master/tlpkg/bin/tl-update-tlnet	2018-03-05 16:40:40 UTC (rev 46843)
@@ -258,7 +258,9 @@
 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



More information about the tex-live-commits mailing list