diff options
Diffstat (limited to 'Master/install-tl.bat')
-rwxr-xr-x | Master/install-tl.bat | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/install-tl.bat b/Master/install-tl.bat new file mode 100755 index 00000000000..fca50f077ea --- /dev/null +++ b/Master/install-tl.bat @@ -0,0 +1,24 @@ +@echo off
+
+rem TeX Live Root; ends with backslash
+rem This should also work with UNC names
+set tlroot=%~dp0
+set tldrive=%~d0
+
+%tldrive%
+cd %tlroot%
+
+rem use provided Perl
+
+set PERL5SAVE=%PERL5LIB%
+
+set PERL5LIB=%tlroot%tlpkg\lib\Perl5_lib-TL_inst
+"%tlroot%tlpkg\bin\perl" "%tlroot%install-tl.pl"
+pause Done
+
+rem cleanup in case of start from command-line
+
+set PERL5LIB=%PERL5SAVE%
+set PERL5SAVE=
+set tldrive=
+set tlroot=
|