From 8f4e160ce0b0c755545d62b06db14decd45b9f1e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 29 Jun 2012 16:51:22 +0100 Subject: package_deb: When searching for E:, anchor expression If we don't do this it will match on expressions like "NOTE:" which are not fatal errors. Signed-off-by: Richard Purdie --- meta/classes/package_deb.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 0a3e976ff7..0a8dc1bd7e 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -187,7 +187,7 @@ deb_log_check() { lf_path="$2" lf_txt="`cat $lf_path`" - for keyword_die in "E:" + for keyword_die in "^E:" do if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1 then -- cgit v1.2.3