diff options
author | Norbert Preining <preining@logic.at> | 2008-05-14 06:56:12 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-05-14 06:56:12 +0000 |
commit | 2b643d79e719b6c95347644d41a842d0a45ece9b (patch) | |
tree | 35bb4a09feb60c34d5fecd6f9d1d0d4ad54cf907 /Master/bin | |
parent | deb6b5b8a824ccc8af5ed762810cf00ca8c78890 (diff) |
Master/bin/win32/tl-w32-wrapper.texlua: fix for W32TeX from Akira
git-svn-id: svn://tug.org/texlive/trunk@8126 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin')
-rwxr-xr-x | Master/bin/win32/tl-w32-wrapper.texlua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/bin/win32/tl-w32-wrapper.texlua b/Master/bin/win32/tl-w32-wrapper.texlua index a48f5256744..9df6f246663 100755 --- a/Master/bin/win32/tl-w32-wrapper.texlua +++ b/Master/bin/win32/tl-w32-wrapper.texlua @@ -1,6 +1,6 @@ #! /usr/bin/env texlua --*-Lua-*- --- $Id: tl-w32-wrapper.texlua 7785 2008-05-01 21:09:37Z preining $ +-- $Id: tl-w32-wrapper.texlua 8125 2008-05-14 06:53:32Z preining $ -- Copyright (C) 2007, 2008 Reinhard Kotucha, Norbert Preining. -- You may freely use, modify and/or distribute this file. @@ -24,6 +24,8 @@ if string.find(arg[0], '/') then -- UNIX path progname = select(1, string.gsub(arg[1], '.*/', '')) elseif string.find(arg[0], '\\') then -- Windows path progname = select(1, string.gsub(arg[1], '.*\\', '')) + -- we might have \ and / mixed together ... + progname = select(1, string.gsub(progname, '.*/', '')) else -- no path progname = arg[1] end |