summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-01-26 23:57:29 +0000
committerNorbert Preining <preining@logic.at>2009-01-26 23:57:29 +0000
commitaed24148c958b101fe54f221d235ad1b08cefc22 (patch)
treef4acd3db8fe0375ec3215b747e9bc2470e31b532
parent1edd48fbfb748d38ed5f49d405683fbe7386da8a (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
-rwxr-xr-xMaster/bin/win32/tlmgr.bat4
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl4
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");