Skip to content

Commit d55dae7

Browse files
authored
Merge pull request darktable-org#431 from wpferguson/script_manager_username_space_fix
Fix script_manager doesn't start on windows when username has a space
2 parents 014a0fc + 34b9831 commit d55dae7

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)