diff options
author | Norbert Preining <preining@logic.at> | 2008-04-22 06:50:58 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-04-22 06:50:58 +0000 |
commit | 9fe77ef943a9c81de59957fc53df2f1573421647 (patch) | |
tree | 487b675dcb8d2af875926790545da63aee5aa75d | |
parent | 18ff358b5247865fdc3d35ecb11402165f13e32f (diff) |
allow for -sys argument
git-svn-id: svn://tug.org/texlive/trunk@7589 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf/scripts/texlive/texconf.tlu | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/texconf.tlu b/Master/texmf/scripts/texlive/texconf.tlu index 0b26a92a6e7..054a8467f25 100755 --- a/Master/texmf/scripts/texlive/texconf.tlu +++ b/Master/texmf/scripts/texlive/texconf.tlu @@ -37,6 +37,15 @@ if string.find(basename, '-sys$') then sys=true end +if arg[1] == '-sys' then + sys=true + -- shift arguments + for i=1, #arg-1 do + arg[i] = arg[i+1] + end + arg[#arg] = nil +end + -- this script does NOT appear in the patch, so we cannot use its basename -- for kpse.set_program_name -- thus we use simply mktexlsr, which always is in the path and which |