diff options
author | Norbert Preining <preining@logic.at> | 2008-03-30 05:43:55 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-03-30 05:43:55 +0000 |
commit | 82d204e9c394716ac65f5e7702a7496804ffa53e (patch) | |
tree | 139b58707221130af2261d3750d2870de5d44854 /Master/bin/powerpc-linux | |
parent | a42038f4be5ed51df826119373226f28e67be87c (diff) |
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
Diffstat (limited to 'Master/bin/powerpc-linux')
-rwxr-xr-x | Master/bin/powerpc-linux/texlua-perl-runner | 53 | ||||
l--------- | Master/bin/powerpc-linux/tl-package-manager | 1 |
2 files changed, 0 insertions, 54 deletions
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 |