diff options
Diffstat (limited to 'Master/bin/windows')
-rwxr-xr-x | Master/bin/windows/runscript.tlu | 2 |
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 ... |