summaryrefslogtreecommitdiff
path: root/Master/tl-portable.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tl-portable.bat')
-rwxr-xr-xMaster/tl-portable.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/tl-portable.bat b/Master/tl-portable.bat
index 796fd30e4e5..2ff66602d29 100755
--- a/Master/tl-portable.bat
+++ b/Master/tl-portable.bat
@@ -41,7 +41,12 @@ rem use provided Perl
set PERL5LIB=%TEXDIR%tlpkg\installer\perllib
"%TEXDIR%tlpkg\installer\perl" "%TEXDIR%install-tl.pl" --portable
+if not errorlevel 1 goto doit
+echo Initialization of TeXLive failed!
+pause
+exit
+:doit
path %TEXDIR%bin\win32;%path%
set PROMPT=TL $P$G
%COMSPEC% /k