diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-10-19 14:53:23 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-10-19 14:53:23 +0000 |
commit | c892a5b2d5af3bc8d1d1f8538128b7512f20508a (patch) | |
tree | c9efa96989668af52f24dbd39eeb36a365439cd9 /Master | |
parent | 1964f534c824feb2dd6708aec9c5c066c376bc4b (diff) |
latexmk.bat: Use the wrapper in order to find Perl.
git-svn-id: svn://tug.org/texlive/trunk@11014 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/win32/latexmk.bat | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/bin/win32/latexmk.bat b/Master/bin/win32/latexmk.bat index f119082adac..fe949613d7c 100755 --- a/Master/bin/win32/latexmk.bat +++ b/Master/bin/win32/latexmk.bat @@ -1,5 +1,8 @@ -Rem Execute latexmk.pl, searching for it in the PATH
-Rem Assume perl is in the PATH. If not, you should replace 'perl' by
-Rem the full pathname of the perl executable, e.g., 'C:\perl\bin\perl.exe'
-
-perl -S latexmk.pl %1 %2 %3 %4 %5 %6 %7 %8 %9
+@echo off
+rem tl-w32-starter.bat
+rem universal script starter, batch file part
+rem this program calls the tl-w32-wrapper.texlua
+setlocal
+set ownpath=%~dp0%
+texlua "%ownpath%tl-w32-wrapper.texlua" "%~dpn0" %*
+endlocal
|