texlive[66127] Master/tlpkg/bin/ctan2tl: attempt to change any future

commits+karl at tug.org commits+karl at tug.org
Fri Feb 24 18:23:33 CET 2023


Revision: 66127
          http://tug.org/svn/texlive?view=revision&revision=66127
Author:   karl
Date:     2023-02-24 18:23:33 +0100 (Fri, 24 Feb 2023)
Log Message:
-----------
attempt to change any future mtimes to now

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/ctan2tl

Modified: trunk/Master/tlpkg/bin/ctan2tl
===================================================================
--- trunk/Master/tlpkg/bin/ctan2tl	2023-02-24 15:53:35 UTC (rev 66126)
+++ trunk/Master/tlpkg/bin/ctan2tl	2023-02-24 17:23:33 UTC (rev 66127)
@@ -131,6 +131,13 @@
   cp -pr $ctan_dir/. $pkg || exit 1
 fi
 
+# Sometimes files on CTAN have future dates. Silently change them
+# to now. Otherwise the build might eventually fail because of the
+# warning from tar ("time stamp ... in the future"). We could silence
+# the warning instead, but it seems better not to have future mtimes in
+# the repository.
+find $pkg -mtime -0 | xargs touch
+
 # clean up the tmpdir possibly created by tlpkginfo --prepare.
 ctan_root=`tlpkginfo --ctan-root`
 if echo "$ctan_dir" | egrep "^$ctan_root" >/dev/null; then :; else



More information about the tex-live-commits mailing list.