diff options
author | Norbert Preining <preining@logic.at> | 2009-01-26 23:57:29 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-01-26 23:57:29 +0000 |
commit | aed24148c958b101fe54f221d235ad1b08cefc22 (patch) | |
tree | f4acd3db8fe0375ec3215b747e9bc2470e31b532 /Master | |
parent | 1edd48fbfb748d38ed5f49d405683fbe7386da8a (diff) |
fix updates from tlnet/2008 to current tlcritical by watching "updater" and
not "updater.bat", again fix by Tomek
git-svn-id: svn://tug.org/texlive/trunk@11986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/win32/tlmgr.bat | 4 | ||||
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Master/bin/win32/tlmgr.bat b/Master/bin/win32/tlmgr.bat index beecf293c0b..6d35a185b43 100755 --- a/Master/bin/win32/tlmgr.bat +++ b/Master/bin/win32/tlmgr.bat @@ -16,10 +16,10 @@ set PERL5LIB=%tlroot%\tlpkg\tlperl\lib "%tlroot%\tlpkg\tlperl\bin\perl.exe" "%tlroot%\texmf\scripts\texlive\tlmgr.pl" %*
rem Check for updater script
-set "updater=%tlroot%\tlpkg\installer\updater.bat"
+set "updater=%tlroot%\tlpkg\installer\updater"
if not exist "%updater%" exit /b
if exist "%updater%.bat" del "%updater%.bat"
-ren "%updater%" updater.bat.bat
+ren "%updater%" updater.bat
if errorlevel 1 exit /b 1
rem Run updater script
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 5b25dbf6e05..5466a1a32b0 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1220,8 +1220,8 @@ rem start /b cmd /c del "%%~f0" EOF ; # write the updater script to file - open UPDATER, ">" . $localtlpdb->root . "/tlpkg/installer/updater.bat" - or die "Cannot create updater.bat: $!"; + open UPDATER, ">" . $localtlpdb->root . "/tlpkg/installer/updater" + or die "Cannot create updater: $!"; print UPDATER $updater_string; close UPDATER; # tlwarn("UPDATER script has been created:\n"); |