summaryrefslogtreecommitdiff
path: root/Master/bin/windows
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2023-10-18 09:35:31 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2023-10-18 09:35:31 +0000
commit950c0a303eaccbad1e9044116cb0f3b4e0ad081e (patch)
tree57afc34706ab35dbec57e69369e47fa5c4db274c /Master/bin/windows
parent8a3cf7fd33dcdc859a24c6ac32062fd274583eba (diff)
Patch Akira for runscript.tlu for including original extension
git-svn-id: svn://tug.org/texlive/trunk@68579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/windows')
-rwxr-xr-xMaster/bin/windows/runscript.tlu2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/bin/windows/runscript.tlu b/Master/bin/windows/runscript.tlu
index 52f7ee45722..c7d6d671a90 100755
--- a/Master/bin/windows/runscript.tlu
+++ b/Master/bin/windows/runscript.tlu
@@ -555,7 +555,7 @@ end
-- program name
-- lower arg[0] : get file name part : remove extension
-local progname, substcount = string.lower(arg[0]):gsub('^.*[\\/]', ''):gsub('%.[^.]*$', '')
+local progname, substcount = string.lower(arg[0]):gsub('^.*[\\/]', ''):gsub('%.exe$', '')
-- special behaviour when called under 'runscript' name
if (progname == 'runscript') then
-- we are called as: runscript progname ...