summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/bin/win32/tlmgr.bat1
-rwxr-xr-xMaster/install-tl.bat1
-rwxr-xr-xMaster/tl-portable.bat1
3 files changed, 3 insertions, 0 deletions
diff --git a/Master/bin/win32/tlmgr.bat b/Master/bin/win32/tlmgr.bat
index efb1f4b2c69..0181f678d72 100755
--- a/Master/bin/win32/tlmgr.bat
+++ b/Master/bin/win32/tlmgr.bat
@@ -25,6 +25,7 @@ if exist "%tlupdater%*" goto :err_updater_exists
rem Start tlmgr
(set PERL5LIB=%tlroot%\tlpkg\tlperl\lib)
+path %tlroot%\tlpkg\tlperl\bin;%path%
"%tlroot%\tlpkg\tlperl\bin\perl.exe" "%tlroot%\texmf\scripts\texlive\tlmgr.pl" %*
rem Exit here if there are no updates to do
diff --git a/Master/install-tl.bat b/Master/install-tl.bat
index 108cc3e718d..5c19345af14 100755
--- a/Master/install-tl.bat
+++ b/Master/install-tl.bat
@@ -37,6 +37,7 @@ __END__
:fixpath
call %TEMP%\setpath.bat
+path %tlroot%tlpkg\installer;%path%
echo Path: %path%
rem del %TEMP%\setpath.bat
"%tlroot%tlpkg\installer\perl" "%~dpn0" %*
diff --git a/Master/tl-portable.bat b/Master/tl-portable.bat
index c59db25fe3c..5ec2bfceaa9 100755
--- a/Master/tl-portable.bat
+++ b/Master/tl-portable.bat
@@ -39,6 +39,7 @@ set platform=win32
rem use provided Perl
set PERL5LIB=%TEXDIR%tlpkg\installer\perllib
+path %TEXDIR%tlpkg\installer;%path%
"%TEXDIR%tlpkg\installer\perl" "%TEXDIR%install-tl" --portable
if not errorlevel 1 goto doit
echo Initialization of TeXLive failed!