From 34b9831472b78aceb519dcabff0b543b714a247f Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Mon, 16 Oct 2023 22:41:12 -0400 Subject: [PATCH] tools/script_manager.lua - wrapped the scipt_dir in quotes to handle the space in username problem on windows. --- tools/script_manager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/script_manager.lua b/tools/script_manager.lua index be697fe..0517cb0 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -513,7 +513,7 @@ local function scan_scripts(script_dir) local script_count = 0 local find_cmd = "find -L " .. script_dir .. " -name \\*.lua -print | sort" if dt.configuration.running_os == "windows" then - find_cmd = "dir /b/s " .. script_dir .. "\\*.lua | sort" + find_cmd = "dir /b/s \s" .. script_dir .. "\\*.lua\" | sort" end log.msg(log.debug, _("find command is ") .. find_cmd) -- scan the scripts