summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2020-01-28 11:23:10 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2020-01-28 11:23:10 +0000
commitbd03727a3c3216d5dc5e6d7bea26d013cfbf2bfd (patch)
tree3ffe4bff1b1cf46db0466b6064f854d4ac54039a /Master
parent49ab47bc98981d8c5a9cc53fff18052bf5094cca (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-xMaster/texmf-dist/scripts/texlive/tlmgr.pl3
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