diff options
-rw-r--r-- | Master/tlpkg/installer/w32_updater.cmd | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/tlpkg/installer/w32_updater.cmd b/Master/tlpkg/installer/w32_updater.cmd index df0d84acf92..1cdf21f77ee 100644 --- a/Master/tlpkg/installer/w32_updater.cmd +++ b/Master/tlpkg/installer/w32_updater.cmd @@ -58,7 +58,7 @@ rem let's make sure that we can use dynamic variables rem get package list from arguments (set pkgpartslist=%*) if not defined pkgpartslist exit /b 0 -rem construct package list without .src and .doc packages +rem construct package list without .source and .doc packages rem count the total number of packages while doing that set pkgcount=0 (set pkglist=) @@ -111,9 +111,8 @@ goto :pkgloop :untar temp\[__BACKUP_] pkg_name set "ext=tar" -if "%~x2"==".src" (set type=.source) else (set type=%~x2) if %~n1_==__BACKUP__ set "ext=r%~3.tar" -tlpkg\installer\tarsave.exe -x -f "%~1%~n2%type%.%ext%" && del "%~1%~n2%type%.%ext%" +tlpkg\installer\tarsave.exe -x -f "%~1%~2.%ext%" && del "%~1%~2.%ext%" exit /b %errorlevel% :incltlpobj tlpkg\tlpobj\ pkg_name @@ -121,7 +120,7 @@ tlpkg\tlperl\bin\perl.exe texmf\scripts\texlive\tlmgr.pl _include_tlpobj "%~1%~2 exit /b %errorlevel% :remove_src_doc -if /i %~x2.==.src. exit /b 0 +if /i %~x2.==.source. exit /b 0 if /i %~x2.==.doc. exit /b 0 set %1=%pkglist% %2 %3 %4 set /a pkgcount+=1 |