From bb26331c4b52b32d1e5195d235b3adb07cfa31fe Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 8 Apr 2023 12:55:08 +0200 Subject: tools/tb2err: Rewrite prosody-modules paths to ../modules This assumes you have community modules in ../modules as I do --- tools/tb2err | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/tb2err b/tools/tb2err index 09a55d5e..63664cd3 100755 --- a/tools/tb2err +++ b/tools/tb2err @@ -11,11 +11,13 @@ for line in io.lines() do or src:match("/()net/") or src:match("/()util/") or src:match("/()modules/") + or src:match("/()prosody%-modules/") or src:match("/()plugins/") or src:match("/()prosody[ctl]*$") if cut then src = src:sub(cut); end + src = src:gsub("prosody%-modules/", "../modules/") src = src:gsub("^modules/", "plugins/") io.write(src, err, "\n"); end -- cgit v1.2.3