From 11601ad7b07b591e0a232a322dd9dab54cc98e55 Mon Sep 17 00:00:00 2001 From: Reinhard Kotucha Date: Mon, 21 Apr 2008 19:39:49 +0000 Subject: texlua wrappers: adapted for changed GS directory layout. Use .tlu instead of .texlua in texmf/scripts. git-svn-id: svn://tug.org/texlive/trunk@7578 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/win32/epstopdf.texlua | 6 +++--- Master/bin/win32/fmtutil-sys.texlua | 6 +++--- Master/bin/win32/getnonfreefonts-sys.texlua | 6 +++--- Master/bin/win32/getnonfreefonts.texlua | 6 +++--- Master/bin/win32/texdoctk.texlua | 6 +++--- Master/bin/win32/texindy.texlua | 6 +++--- Master/bin/win32/thumbpdf.texlua | 6 +++--- Master/bin/win32/tlmgr.texlua | 8 ++++---- Master/bin/win32/updmap-sys.texlua | 6 +++--- Master/bin/win32/updmap.texlua | 6 +++--- Master/bin/win32/xindy.texlua | 6 +++--- 11 files changed, 34 insertions(+), 34 deletions(-) (limited to 'Master/bin') diff --git a/Master/bin/win32/epstopdf.texlua b/Master/bin/win32/epstopdf.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/epstopdf.texlua +++ b/Master/bin/win32/epstopdf.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.. diff --git a/Master/bin/win32/fmtutil-sys.texlua b/Master/bin/win32/fmtutil-sys.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/fmtutil-sys.texlua +++ b/Master/bin/win32/fmtutil-sys.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.. diff --git a/Master/bin/win32/getnonfreefonts-sys.texlua b/Master/bin/win32/getnonfreefonts-sys.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/getnonfreefonts-sys.texlua +++ b/Master/bin/win32/getnonfreefonts-sys.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.. diff --git a/Master/bin/win32/getnonfreefonts.texlua b/Master/bin/win32/getnonfreefonts.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/getnonfreefonts.texlua +++ b/Master/bin/win32/getnonfreefonts.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.. diff --git a/Master/bin/win32/texdoctk.texlua b/Master/bin/win32/texdoctk.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/texdoctk.texlua +++ b/Master/bin/win32/texdoctk.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.. diff --git a/Master/bin/win32/texindy.texlua b/Master/bin/win32/texindy.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/texindy.texlua +++ b/Master/bin/win32/texindy.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.. 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.. diff --git a/Master/bin/win32/tlmgr.texlua b/Master/bin/win32/tlmgr.texlua index 48aa4e78508..89c8f854618 100755 --- a/Master/bin/win32/tlmgr.texlua +++ b/Master/bin/win32/tlmgr.texlua @@ -1,6 +1,6 @@ #! /usr/bin/env texlua --*-Lua-*- --- $Id: epstopdf.texlua 7369 2008-04-09 20:59:50Z reinhardk $ +-- $Id: xindy.texlua 7484 2008-04-18 05:44:51Z vvv $ -- Copyright (C) 2007 Reinhard Kotucha, Norbert Preining. -- You may freely use, modify and/or distribute this file. @@ -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.. diff --git a/Master/bin/win32/updmap-sys.texlua b/Master/bin/win32/updmap-sys.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/updmap-sys.texlua +++ b/Master/bin/win32/updmap-sys.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.. diff --git a/Master/bin/win32/updmap.texlua b/Master/bin/win32/updmap.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/updmap.texlua +++ b/Master/bin/win32/updmap.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.. diff --git a/Master/bin/win32/xindy.texlua b/Master/bin/win32/xindy.texlua index 16e4e7ea55b..e6d974e19d2 100755 --- a/Master/bin/win32/xindy.texlua +++ b/Master/bin/win32/xindy.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.. -- cgit v1.2.3