CONTRIB: trace: report the base name only for file names

The output is hard to read when the full path to the sources files is
emitted, let's strip it.
This commit is contained in:
Willy Tarreau 2017-10-24 11:55:37 +02:00
parent e8f0f1265f
commit f5e0d1f9fd
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ BEGIN {
if (prog == "") if (prog == "")
prog=ENVIRON["PROG"]; prog=ENVIRON["PROG"];
cmd=cmd " -f -e " prog; cmd=cmd " -f -s -e " prog;
for (i = 1; i < 100; i++) { for (i = 1; i < 100; i++) {
indents[">",i] = indents[">",i-1] "->" indents[">",i] = indents[">",i-1] "->"