From b30e779d8e6ee929c133d07f2da7b7661436ad89 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 13 Dec 2016 22:19:43 -0800 Subject: Catch more make errors. Some errors from make(1) do not include a file reference in brackets. Signed-off-by: Alexey Neyman diff --git a/scripts/functions b/scripts/functions index 5337962..f687504 100644 --- a/scripts/functions +++ b/scripts/functions @@ -193,7 +193,7 @@ CT_DoLog() { y,*"warning:"*) cur_L=WARN; cur_l=${CT_LOG_LEVEL_WARN};; y,*"WARNING:"*) cur_L=WARN; cur_l=${CT_LOG_LEVEL_WARN};; *"error:"*) cur_L=ERROR; cur_l=${CT_LOG_LEVEL_ERROR};; - *"make["*"]: *** ["*) cur_L=ERROR; cur_l=${CT_LOG_LEVEL_ERROR};; + *"make["*"]: ***"*) cur_L=ERROR; cur_l=${CT_LOG_LEVEL_ERROR};; *) cur_L="${LEVEL}"; cur_l="${level}";; esac # There will always be a log file (stdout, fd #1), be it /dev/null -- cgit v0.10.2-6-g49f6