texlive[72829] Master/texmf-dist/scripts/texlive/extractbb.lua:
commits+kakuto at tug.org
commits+kakuto at tug.org
Tue Nov 12 03:41:50 CET 2024
Revision: 72829
https://tug.org/svn/texlive?view=revision&revision=72829
Author: kakuto
Date: 2024-11-12 03:41:50 +0100 (Tue, 12 Nov 2024)
Log Message:
-----------
extractbb.lua: support file names with spaces in Windows
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/extractbb.lua
Modified: trunk/Master/texmf-dist/scripts/texlive/extractbb.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/extractbb.lua 2024-11-12 00:41:46 UTC (rev 72828)
+++ trunk/Master/texmf-dist/scripts/texlive/extractbb.lua 2024-11-12 02:41:50 UTC (rev 72829)
@@ -225,6 +225,9 @@
for i = 1, #script_args do
-- We use a numeric iterator here to avoid ``arg[-1]'' and ``arg[0]''.
local this_arg = script_args[i]
+ if os.type == 'windows' then
+ this_arg = '"'..this_arg..'"'
+ end
insert(target_args, this_arg)
-- Show version information
More information about the tex-live-commits
mailing list.