Skip to content

Commit 34b9831

Browse files
committed
tools/script_manager.lua - wrapped the scipt_dir in quotes to handle
the space in username problem on windows.
1 parent 014a0fc commit 34b9831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/script_manager.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ local function scan_scripts(script_dir)
513513
local script_count = 0
514514
local find_cmd = "find -L " .. script_dir .. " -name \\*.lua -print | sort"
515515
if dt.configuration.running_os == "windows" then
516-
find_cmd = "dir /b/s " .. script_dir .. "\\*.lua | sort"
516+
find_cmd = "dir /b/s \s" .. script_dir .. "\\*.lua\" | sort"
517517
end
518518
log.msg(log.debug, _("find command is ") .. find_cmd)
519519
-- scan the scripts

0 commit comments

Comments
 (0)