summaryrefslogtreecommitdiff
path: root/Master/install-tl.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl.bat')
-rwxr-xr-xMaster/install-tl.bat11
1 files changed, 4 insertions, 7 deletions
diff --git a/Master/install-tl.bat b/Master/install-tl.bat
index 5c19345af14..8b0dbc3f75d 100755
--- a/Master/install-tl.bat
+++ b/Master/install-tl.bat
@@ -8,16 +8,14 @@ set tldrive=%~d0
%tldrive%
cd %tlroot%
-rem we need wget in the path, so add tlpkg\bin to the path
-path %tlroot%tlpkg\installer;%path%
-
rem use provided Perl
-set PERL5LIB=%tlroot%tlpkg\installer\perllib
+set PERL5LIB=%tlroot%tlpkg\tlperl\lib
+path %tlroot%tlpkg\tlperl\bin;%path%
rem remove TeX directories from searchpath with
rem some embedded Perl and a temporary batchfile.
rem If it is done in the Perl installer then it may not work right.
-"%tlroot%tlpkg\installer\perl" -x "%~dpn0.bat"
+perl -x "%~dpn0.bat"
goto fixpath
#! perl
@@ -37,10 +35,9 @@ __END__
:fixpath
call %TEMP%\setpath.bat
-path %tlroot%tlpkg\installer;%path%
echo Path: %path%
rem del %TEMP%\setpath.bat
-"%tlroot%tlpkg\installer\perl" "%~dpn0" %*
+perl "%~dpn0" %*
pause Done
rem endlocal is implicit