Software /
code /
prosody
Comparison
tools/tb2err @ 13066:4aa4a51a7a77
tools/tb2err: Trim trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Apr 2023 12:56:13 +0200 |
parent | 13065:ab546c5977ed |
comparison
equal
deleted
inserted
replaced
13065:ab546c5977ed | 13066:4aa4a51a7a77 |
---|---|
11 or src:match("/()net/") | 11 or src:match("/()net/") |
12 or src:match("/()util/") | 12 or src:match("/()util/") |
13 or src:match("/()modules/") | 13 or src:match("/()modules/") |
14 or src:match("/()prosody%-modules/") | 14 or src:match("/()prosody%-modules/") |
15 or src:match("/()plugins/") | 15 or src:match("/()plugins/") |
16 or src:match("/()prosody[ctl]*$") | 16 or src:match("/()prosody[ctl]*$") |
17 if cut then | 17 if cut then |
18 src = src:sub(cut); | 18 src = src:sub(cut); |
19 end | 19 end |
20 src = src:gsub("prosody%-modules/", "../modules/") | 20 src = src:gsub("prosody%-modules/", "../modules/") |
21 src = src:gsub("^modules/", "plugins/") | 21 src = src:gsub("^modules/", "plugins/") |