texlive[55186] Master/tlpkg/bin/tl-update-tlnet: cd before running

commits+karl at tug.org commits+karl at tug.org
Mon May 18 00:26:22 CEST 2020


Revision: 55186
          http://tug.org/svn/texlive?view=revision&revision=55186
Author:   karl
Date:     2020-05-18 00:26:21 +0200 (Mon, 18 May 2020)
Log Message:
-----------
cd before running final tlgpg-verify, since we
have no cwd any more.

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

Modified: trunk/Master/tlpkg/bin/tl-update-tlnet
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-tlnet	2020-05-17 21:25:36 UTC (rev 55185)
+++ trunk/Master/tlpkg/bin/tl-update-tlnet	2020-05-17 22:26:21 UTC (rev 55186)
@@ -345,6 +345,8 @@
 rm -rf $tltrybase
 
 # We checked this above also, but check again.
+# We've removed the cwd, so cd out of it.
+cd /tmp || exit 1
 $Master/tlpkg/bin/tlgpg-verify $tlweb/tlpkg/texlive.tlpdb.sha512
 
 echo "$0: Done."



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