texlive[53581] Master/texmf-dist/scripts/texlive/tlmgr.pl: chdir /d

commits+siepo at tug.org commits+siepo at tug.org
Tue Jan 28 12:23:11 CET 2020


Revision: 53581
          http://tug.org/svn/texlive?view=revision&revision=53581
Author:   siepo
Date:     2020-01-28 12:23:10 +0100 (Tue, 28 Jan 2020)
Log Message:
-----------
chdir /d -> pushd/popd, for UNC paths

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2020-01-28 00:47:43 UTC (rev 53580)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2020-01-28 11:23:10 UTC (rev 53581)
@@ -2359,11 +2359,12 @@
   >con echo DO NOT CLOSE THIS WINDOW!
   >con echo TeX Live infrastructure update in progress ...
   >con echo Detailed command logging to $upd_log
-  chdir /d "%~dp0.."
+  pushd "%~dp0.."
   if not errorlevel 1 goto :update
   >con echo Could not change working directory to "%~dp0.."
   >con echo Aborting infrastructure update, no changes have been made.
   >con $gui_pause 
+  popd
   exit /b 1
     
 :update



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