summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Strzelczyk <piotr@eps.gda.pl>2009-05-05 21:41:28 +0000
committerPiotr Strzelczyk <piotr@eps.gda.pl>2009-05-05 21:41:28 +0000
commit71837f5ba946a554b3e124791bd9750218509cb6 (patch)
tree6f1a7efd24058d90a89097cbe0fd6673f07e201c
parent00bd361531aa5e71557a17f17b91bcd3fbf60077 (diff)
add perl to path (needed by postaction code thingy)
git-svn-id: svn://tug.org/texlive/branches/branch2009-dev@12938 c570f23f-e606-0410-a88d-b1316a301751
-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!