summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-29 16:51:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-02 16:44:49 +0100
commit8f4e160ce0b0c755545d62b06db14decd45b9f1e (patch)
treee8f9f696cc8ee530bff2427666074c4f419ef55b
parentfa13e83ec3f91dce866ac212e91b62db24b6486d (diff)
downloadopenembedded-core-8f4e160ce0b0c755545d62b06db14decd45b9f1e.tar.gz
openembedded-core-8f4e160ce0b0c755545d62b06db14decd45b9f1e.tar.bz2
openembedded-core-8f4e160ce0b0c755545d62b06db14decd45b9f1e.zip
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
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