From 14646cf8e6c008da5360cac80098f3f098194ea9 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Mon, 11 May 2026 12:24:30 -0400 Subject: [PATCH] tools/script_manager - sanitized system directory string for lua pattern matching so system lua scripts detection works when lua special characters are in the path (such as -) --- 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 8efd335..33dec02 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -70,7 +70,7 @@ local scripts_path = info.source:sub(2) -- assume user based local system_based = false -if string.match(scripts_path, dt.configuration.data_dir) then +if string.match(scripts_path, ds.sanitize_lua(dt.configuration.data_dir)) then log.msg(log.info, "script_manager using system based scripts") system_based = true end