diff options
Diffstat (limited to 'Master/bin/win32/tl-w32-wrapper.cmd')
-rw-r--r-- | Master/bin/win32/tl-w32-wrapper.cmd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/bin/win32/tl-w32-wrapper.cmd b/Master/bin/win32/tl-w32-wrapper.cmd index 0ae54aa24ed..ce0d0d24346 100644 --- a/Master/bin/win32/tl-w32-wrapper.cmd +++ b/Master/bin/win32/tl-w32-wrapper.cmd @@ -28,7 +28,7 @@ rem and location of the script (the second line of output) rem (4NT shell acts wierd with 'if' statements in a 'for' loop, rem so better process this output further in a subroutine) for /f "tokens=1-2 delims=;" %%I in ( - 'kpsewhich.exe --expand-var "$TEXMFSYSCONFIG/?;$TEXMFSYSVAR/?" --format texmfscripts ^ + '%~sdp0kpsewhich.exe --expand-var "$TEXMFSYSCONFIG/?;$TEXMFSYSVAR/?" --format texmfscripts ^ "%TL_PROGNAME%.pl" "%TL_PROGNAME%.tlu" "%TL_PROGNAME%.rb" "%TL_PROGNAME%.py"' ) do ( call :setcmdenv "%%~I" "%%~J" @@ -62,8 +62,8 @@ goto :eof :setcmd script rem Set command based on the script extension -if /i %~x1==.pl set CMDLINE=Perl.exe "%~f1" -if /i %~x1==.tlu set CMDLINE=TeXLua.exe "%~f1" +if /i %~x1==.pl set CMDLINE="%TL_ROOT%\tlpkg\tlperl\bin\perl.exe" "%~f1" +if /i %~x1==.tlu set CMDLINE="%TL_ROOT%\bin\win32\texlua.exe" "%~f1" rem For Ruby and Python we additionally check if their interpreter is available if /i %~x1==.rb call :chkcmd Ruby.exe "%~f1" if /i %~x1==.py call :chkcmd Python.exe "%~f1" |