diff options
Diffstat (limited to 'Master/texmf/doc/texlive/source/texlive-common/w32client/install-w32client.bat')
-rwxr-xr-x | Master/texmf/doc/texlive/source/texlive-common/w32client/install-w32client.bat | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf/doc/texlive/source/texlive-common/w32client/install-w32client.bat b/Master/texmf/doc/texlive/source/texlive-common/w32client/install-w32client.bat new file mode 100755 index 00000000000..0d22ada6688 --- /dev/null +++ b/Master/texmf/doc/texlive/source/texlive-common/w32client/install-w32client.bat @@ -0,0 +1,28 @@ +@echo off
+
+rem copy this file and install-w32client to the same directory
+rem as texmf, texmf-dist etc.
+
+rem TeX Live Root; ends with backslash
+rem This may also work with UNC names
+
+set texdir=%~dp0
+set tldrive=%~d0
+
+%tldrive%
+cd %texdir%
+
+rem use provided Perl
+
+set PERL5SAVE=%PERL5LIB%
+set PERL5LIB=%texdir%tlpkg\tlperl\lib;%texdir%tlpkg
+"%texdir%tlpkg\tlperl\bin\perl" "%~dpn0" %*
+rem pause Done
+
+rem cleanup in case of start from command-line
+
+set PERL5LIB=%PERL5SAVE%
+set PERL5SAVE=
+set tldrive=
+set texdir=
+pause
\ No newline at end of file |