texlive[68579] Master/bin/windows/runscript.tlu: Patch Akira for

commits+siepo at tug.org commits+siepo at tug.org
Wed Oct 18 11:35:32 CEST 2023


Revision: 68579
          https://tug.org/svn/texlive?view=revision&revision=68579
Author:   siepo
Date:     2023-10-18 11:35:31 +0200 (Wed, 18 Oct 2023)
Log Message:
-----------
Patch Akira for runscript.tlu for including original extension

Modified Paths:
--------------
    trunk/Master/bin/windows/runscript.tlu

Modified: trunk/Master/bin/windows/runscript.tlu
===================================================================
--- trunk/Master/bin/windows/runscript.tlu	2023-10-18 08:02:39 UTC (rev 68578)
+++ trunk/Master/bin/windows/runscript.tlu	2023-10-18 09:35:31 UTC (rev 68579)
@@ -555,7 +555,7 @@
 -- 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 ...



More information about the tex-live-commits mailing list.