summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-21 15:32:27 +0000
committerKarl Berry <karl@freefriends.org>2023-10-21 15:32:27 +0000
commit5b48fc7bcecdd7532430921ff665cc8eab0022f0 (patch)
tree5f513b1339152bc533ea031da530efaafcba5361 /Build/source
parent39330eeb627b501c65b502008ed2082ce5b9f11b (diff)
pkgs_ report; sync
git-svn-id: svn://tug.org/texlive/trunk@68607 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/texlive/windows_wrapper/runscript.tlu2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/texlive/windows_wrapper/runscript.tlu b/Build/source/texk/texlive/windows_wrapper/runscript.tlu
index 52f7ee45722..c7d6d671a90 100644
--- a/Build/source/texk/texlive/windows_wrapper/runscript.tlu
+++ b/Build/source/texk/texlive/windows_wrapper/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 ...