diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2020-01-28 11:23:10 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2020-01-28 11:23:10 +0000 |
commit | bd03727a3c3216d5dc5e6d7bea26d013cfbf2bfd (patch) | |
tree | 3ffe4bff1b1cf46db0466b6064f854d4ac54039a /Master | |
parent | 49ab47bc98981d8c5a9cc53fff18052bf5094cca (diff) |
chdir /d -> pushd/popd, for UNC paths
git-svn-id: svn://tug.org/texlive/trunk@53581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 09c45f92539..66e4daa8cf0 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -2359,11 +2359,12 @@ sub write_w32_updater { >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 |