summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/mktexlsr.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/mktexlsr.bat b/Master/texmf-dist/scripts/texlive/mktexlsr.bat
new file mode 100755
index 00000000000..ea2dd7ed484
--- /dev/null
+++ b/Master/texmf-dist/scripts/texlive/mktexlsr.bat
@@ -0,0 +1,18 @@
+@echo off
+rem Launcher for mktexlsr perl script
+rem
+rem Public Domain
+rem Originally written 2009 by Tomasz M. Trzeciak
+
+rem Make environment changes local
+setlocal enableextensions
+
+rem Get TL installation root (w/o trailing backslash)
+set tlroot=%~dp0:
+set tlroot=%tlroot:\bin\win32\:=%
+
+rem Start mktexlsr
+set PERL5LIB=%tlroot%\tlpkg\tlperl\lib
+path %tlroot%\tlpkg\tlperl\bin;%tlroot%\bin\win32;%path%
+"%tlroot%\tlpkg\tlperl\bin\perl.exe" "%tlroot%\texmf-dist\scripts\texlive\mktexlsr.pl" %*
+