From e99cbe315b14a327fe89e15f28be027356d540e6 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 9 Feb 2009 10:21:11 +0000 Subject: one more patch for w32_updater.cmd from Tomek git-svn-id: svn://tug.org/texlive/trunk@12126 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/installer/w32_updater.cmd | 7 +++---- 1 file 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 -- cgit v1.2.3