diff options
author | Norbert Preining <preining@logic.at> | 2009-02-09 10:21:11 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-02-09 10:21:11 +0000 |
commit | e99cbe315b14a327fe89e15f28be027356d540e6 (patch) | |
tree | 525927e33ef0eae3ccd2676401721f7d50db0797 /Master/tlpkg/installer | |
parent | b2744ecbf7219fc0754b4e8c2671f18368406171 (diff) |
one more patch for w32_updater.cmd from Tomek
git-svn-id: svn://tug.org/texlive/trunk@12126 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer')
-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 |