blob: 4f149d7c0f3c3cdce369ac50d4c0c6e623fe11f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@echo off
rem TeX Live Root; ends with backslash
rem This should also work with UNC names
set tlsub=%~dp0
set tldrive=%~d0
%tldrive%
cd %tlsub%
rem use provided Perl
set PERL5SAVE=%PERL5LIB%
set PERL5LIB=%tlsub%..\tlperl\lib
"%tlsub%..\tlperl\bin\perl" "%~dpn0.pl" %1 %2 %3 %4 %5 %6 %7 %8 %9
rem remove files that are in use by the perl un-installer
rmdir /s /q %tlsub%..\tlperl
rmdir /s /q %tlsub%..\..\temp
del /q %tlsub%..\texlive.tlpdb
cd %tlsub%..\..
rmdir /s /q tlpkg
del /q install-tl.log
rem pause Done
rem cleanup in case of start from command-line
set PERL5LIB=%PERL5SAVE%
set PERL5SAVE=
set tldrive=
set tlsub=
|