From: Tobias Ulmer Date: Mon, 28 Oct 2013 13:24:24 +0000 (+0100) Subject: Do not mangle module name with an underscore in debug log X-Git-Tag: e2factory-2.3.15rc1~435 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=33cf8afd56aead28f9302531bdec60455f926dbe;p=e2factory.git Do not mangle module name with an underscore in debug log Signed-off-by: Tobias Ulmer --- diff --git a/generic/trace.lua b/generic/trace.lua index 2c9cecf..516e53d 100644 --- a/generic/trace.lua +++ b/generic/trace.lua @@ -39,7 +39,7 @@ local function tracer(event, line) -- DEBUG: comment this to see all C calls. return else - module = string.match(ftbl.source, "(%w+%.)lua$") + module = string.match(ftbl.source, "([^/]+%.)lua$") if module == nil then module = "." -- DEBUG: comment this to see all unknown calls.