Verified Commit 9fe306cd authored by Vladimír Štill's avatar Vladimír Štill
Browse files

makefilter: Fix cutof for nested make

parent e773cd9a
......@@ -15,7 +15,7 @@ while (<$make>) {
print $full $_;
s/(error)/colored($1, 'bright_red')/ei;
print if not $cut;
if (/make: \*\*\* Waiting for unfinished jobs\.\.\./) {
if (/make(\[[^]]*\]){0,1}: \*\*\* Waiting for unfinished jobs\.\.\./) {
$cut = 1;
say colored("[[[log cut by makefilter, full log in make-full.log]]]", 'yellow');
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment