summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-05-14 06:53:32 +0000
committerNorbert Preining <preining@logic.at>2008-05-14 06:53:32 +0000
commitdeb6b5b8a824ccc8af5ed762810cf00ca8c78890 (patch)
tree912a1da5586c5967ddc8568f82282241ed67df2c /Build
parent69ac138e19b13261722c9949774c3aedd21097f3 (diff)
tl-w32-wrapper.texlua: add a line as suggested by Akira
git-svn-id: svn://tug.org/texlive/trunk@8125 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/texlive/tl-w32-wrapper.texlua2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/texlive/tl-w32-wrapper.texlua b/Build/source/texk/texlive/tl-w32-wrapper.texlua
index 93166f6514c..ad73b9bf1d5 100755
--- a/Build/source/texk/texlive/tl-w32-wrapper.texlua
+++ b/Build/source/texk/texlive/tl-w32-wrapper.texlua
@@ -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