From 3aa6202cf5cb1d9f17c36b60ef8e481b9a9b1bc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 24 May 2015 22:17:47 +0200 Subject: [PATCH] Catch errors like 'CMakeFiles/Makefile2:991: recipe for target 'nepomuk/CMakeFiles/nepomuk.dir/all' failed' --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index d358384..3397013 100644 --- a/index.php +++ b/index.php @@ -374,7 +374,7 @@ function dump_log($tail) $toc_elem = "error $err_count"; $err_elem = $s; $s = "$s"; - } elseif (preg_match("/(?:undefined reference to)/i", $s)) { + } elseif (preg_match("/(?:undefined reference to|recipe for target '.*?' failed)/i", $s)) { $first_cut = true; $err_count++; $toc_elem = "error $err_count"; -- 2.44.0