summaryrefslogtreecommitdiff
path: root/Master/bin/win32/thumbpdf.texlua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/win32/thumbpdf.texlua')
-rwxr-xr-xMaster/bin/win32/thumbpdf.texlua6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/bin/win32/thumbpdf.texlua b/Master/bin/win32/thumbpdf.texlua
index 16e4e7ea55b..e6d974e19d2 100755
--- a/Master/bin/win32/thumbpdf.texlua
+++ b/Master/bin/win32/thumbpdf.texlua
@@ -49,7 +49,7 @@ os.setenv('PATH', TEXDIR..'/tlpkg/tlgs/bin;'..
os.setenv('WGETRC', TEXDIR..'/tlpkg/installer/wgetrc')
os.setenv('PERL5LIB', TEXDIR..'/tlpkg/tlperl/lib')
-os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib')
+os.setenv('GS_LIB', TEXDIR..'/tlpkg/tlgs/lib;'..TEXDIR..'/tlpkg/tlgs/fonts')
if sys then
os.setenv('TEXMFVAR', kpse.var_value('TEXMFSYSVAR'))
@@ -67,8 +67,8 @@ elseif lfs.isfile(BINDIR..'/'..basename..'.pl') then
elseif kpse.find_file(basename..'.pl', 'texmfscripts') then
script=kpse.find_file(basename..'.pl', 'texmfscripts')
command={perlbin, script}
-elseif kpse.find_file(basename..'.texlua', 'texmfscripts') then
- script=kpse.find_file(basename..'.texlua', 'texmfscripts')
+elseif kpse.find_file(basename..'.tlu', 'texmfscripts') then
+ script=kpse.find_file(basename..'.tlu', 'texmfscripts')
command={'texlua', script}
else
io.stderr:write(filename..'.texlua: '..basename..