From 82d204e9c394716ac65f5e7702a7496804ffa53e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 30 Mar 2008 05:43:55 +0000 Subject: remove the tl-package-manager as texlua runner (will be created as link) git-svn-id: svn://tug.org/texlive/trunk@7234 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/alpha-linux/texlua-perl-runner | 53 ---------------------------- Master/bin/alpha-linux/tl-package-manager | 1 - Master/bin/hppa-hpux/texlua-perl-runner | 53 ---------------------------- Master/bin/hppa-hpux/tl-package-manager | 1 - Master/bin/i386-darwin/texlua-perl-runner | 53 ---------------------------- Master/bin/i386-darwin/tl-package-manager | 1 - Master/bin/i386-freebsd/texlua-perl-runner | 53 ---------------------------- Master/bin/i386-freebsd/tl-package-manager | 1 - Master/bin/i386-linux/texlua-perl-runner | 53 ---------------------------- Master/bin/i386-linux/tl-package-manager | 1 - Master/bin/i386-openbsd/texlua-perl-runner | 53 ---------------------------- Master/bin/i386-openbsd/tl-package-manager | 1 - Master/bin/i386-solaris/texlua-perl-runner | 53 ---------------------------- Master/bin/i386-solaris/tl-package-manager | 1 - Master/bin/mips-irix/texlua-perl-runner | 53 ---------------------------- Master/bin/mips-irix/tl-package-manager | 1 - Master/bin/powerpc-aix/texlua-perl-runner | 53 ---------------------------- Master/bin/powerpc-aix/tl-package-manager | 1 - Master/bin/powerpc-darwin/texlua-perl-runner | 53 ---------------------------- Master/bin/powerpc-darwin/tl-package-manager | 1 - Master/bin/powerpc-linux/texlua-perl-runner | 53 ---------------------------- Master/bin/powerpc-linux/tl-package-manager | 1 - Master/bin/sparc-linux/texlua-perl-runner | 53 ---------------------------- Master/bin/sparc-linux/tl-package-manager | 1 - Master/bin/sparc-solaris/texlua-perl-runner | 53 ---------------------------- Master/bin/sparc-solaris/tl-package-manager | 1 - Master/bin/x86_64-linux/texlua-perl-runner | 53 ---------------------------- Master/bin/x86_64-linux/tl-package-manager | 1 - 28 files changed, 756 deletions(-) delete mode 100755 Master/bin/alpha-linux/texlua-perl-runner delete mode 120000 Master/bin/alpha-linux/tl-package-manager delete mode 100755 Master/bin/hppa-hpux/texlua-perl-runner delete mode 120000 Master/bin/hppa-hpux/tl-package-manager delete mode 100755 Master/bin/i386-darwin/texlua-perl-runner delete mode 120000 Master/bin/i386-darwin/tl-package-manager delete mode 100755 Master/bin/i386-freebsd/texlua-perl-runner delete mode 120000 Master/bin/i386-freebsd/tl-package-manager delete mode 100755 Master/bin/i386-linux/texlua-perl-runner delete mode 120000 Master/bin/i386-linux/tl-package-manager delete mode 100755 Master/bin/i386-openbsd/texlua-perl-runner delete mode 120000 Master/bin/i386-openbsd/tl-package-manager delete mode 100755 Master/bin/i386-solaris/texlua-perl-runner delete mode 120000 Master/bin/i386-solaris/tl-package-manager delete mode 100755 Master/bin/mips-irix/texlua-perl-runner delete mode 120000 Master/bin/mips-irix/tl-package-manager delete mode 100755 Master/bin/powerpc-aix/texlua-perl-runner delete mode 120000 Master/bin/powerpc-aix/tl-package-manager delete mode 100755 Master/bin/powerpc-darwin/texlua-perl-runner delete mode 120000 Master/bin/powerpc-darwin/tl-package-manager delete mode 100755 Master/bin/powerpc-linux/texlua-perl-runner delete mode 120000 Master/bin/powerpc-linux/tl-package-manager delete mode 100755 Master/bin/sparc-linux/texlua-perl-runner delete mode 120000 Master/bin/sparc-linux/tl-package-manager delete mode 100755 Master/bin/sparc-solaris/texlua-perl-runner delete mode 120000 Master/bin/sparc-solaris/tl-package-manager delete mode 100755 Master/bin/x86_64-linux/texlua-perl-runner delete mode 120000 Master/bin/x86_64-linux/tl-package-manager diff --git a/Master/bin/alpha-linux/texlua-perl-runner b/Master/bin/alpha-linux/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/alpha-linux/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/alpha-linux/tl-package-manager b/Master/bin/alpha-linux/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/alpha-linux/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/hppa-hpux/texlua-perl-runner b/Master/bin/hppa-hpux/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/hppa-hpux/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/hppa-hpux/tl-package-manager b/Master/bin/hppa-hpux/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/hppa-hpux/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/i386-darwin/texlua-perl-runner b/Master/bin/i386-darwin/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/i386-darwin/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/i386-darwin/tl-package-manager b/Master/bin/i386-darwin/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/i386-darwin/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/i386-freebsd/texlua-perl-runner b/Master/bin/i386-freebsd/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/i386-freebsd/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/i386-freebsd/tl-package-manager b/Master/bin/i386-freebsd/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/i386-freebsd/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/i386-linux/texlua-perl-runner b/Master/bin/i386-linux/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/i386-linux/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/i386-linux/tl-package-manager b/Master/bin/i386-linux/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/i386-linux/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/i386-openbsd/texlua-perl-runner b/Master/bin/i386-openbsd/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/i386-openbsd/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/i386-openbsd/tl-package-manager b/Master/bin/i386-openbsd/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/i386-openbsd/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/i386-solaris/texlua-perl-runner b/Master/bin/i386-solaris/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/i386-solaris/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/i386-solaris/tl-package-manager b/Master/bin/i386-solaris/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/i386-solaris/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/mips-irix/texlua-perl-runner b/Master/bin/mips-irix/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/mips-irix/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/mips-irix/tl-package-manager b/Master/bin/mips-irix/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/mips-irix/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/powerpc-aix/texlua-perl-runner b/Master/bin/powerpc-aix/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/powerpc-aix/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/powerpc-aix/tl-package-manager b/Master/bin/powerpc-aix/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/powerpc-aix/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/powerpc-darwin/texlua-perl-runner b/Master/bin/powerpc-darwin/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/powerpc-darwin/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/powerpc-darwin/tl-package-manager b/Master/bin/powerpc-darwin/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/powerpc-darwin/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/powerpc-linux/texlua-perl-runner b/Master/bin/powerpc-linux/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/powerpc-linux/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/powerpc-linux/tl-package-manager b/Master/bin/powerpc-linux/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/powerpc-linux/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/sparc-linux/texlua-perl-runner b/Master/bin/sparc-linux/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/sparc-linux/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/sparc-linux/tl-package-manager b/Master/bin/sparc-linux/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/sparc-linux/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/sparc-solaris/texlua-perl-runner b/Master/bin/sparc-solaris/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/sparc-solaris/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/sparc-solaris/tl-package-manager b/Master/bin/sparc-solaris/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/sparc-solaris/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file diff --git a/Master/bin/x86_64-linux/texlua-perl-runner b/Master/bin/x86_64-linux/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Master/bin/x86_64-linux/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - diff --git a/Master/bin/x86_64-linux/tl-package-manager b/Master/bin/x86_64-linux/tl-package-manager deleted file mode 120000 index 331c9dd59df..00000000000 --- a/Master/bin/x86_64-linux/tl-package-manager +++ /dev/null @@ -1 +0,0 @@ -texlua-perl-runner \ No newline at end of file -- cgit v1.2.3