summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2015-03-19 05:50:29 +0000
committerNorbert Preining <preining@logic.at>2015-03-19 05:50:29 +0000
commita4ca66e9cd571f29415d6473f299b4105629b4f3 (patch)
tree04a8bb0a5d288d5ccdac5f18bb85cceb15e5e4d3 /Master/texmf-dist/scripts
parentcd4a96e574e1b66033f2aac9a38afe6a9fdbc944 (diff)
add mktexlsr.bat for the perl script
git-svn-id: svn://tug.org/texlive/trunk@36558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-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" %*
+