summaryrefslogtreecommitdiff
path: root/Master/tl-portable.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tl-portable.bat')
-rwxr-xr-xMaster/tl-portable.bat9
1 files changed, 4 insertions, 5 deletions
diff --git a/Master/tl-portable.bat b/Master/tl-portable.bat
index 5ec2bfceaa9..3fcf68d8a70 100755
--- a/Master/tl-portable.bat
+++ b/Master/tl-portable.bat
@@ -37,14 +37,13 @@ set TEXBINDIR=%TEXDIR%bin\win32
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
+set PERL5LIB=%TEXDIR%tlpkg\tlperl\lib
+path %TEXDIR%tlpkg\tlperl\bin;%path%
+perl "%TEXDIR%install-tl" --portable
if not errorlevel 1 goto doit
echo Initialization of TeXLive failed!
pause
-exit
+exit /b 1
:doit
path %TEXDIR%bin\win32;%path%