diff options
-rw-r--r-- | meta/classes/package_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 2d193b7465..e9a6ac8770 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -65,7 +65,7 @@ rpm_log_check() { | |||
65 | lf_txt="`cat $lf_path`" | 65 | lf_txt="`cat $lf_path`" |
66 | for keyword_die in "unpacking of archive failed" "Cannot find package" "exit 1" ERR Fail | 66 | for keyword_die in "unpacking of archive failed" "Cannot find package" "exit 1" ERR Fail |
67 | do | 67 | do |
68 | if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1 | 68 | if (echo "$lf_txt" | grep -v log_check | grep "\<$keyword_die\>") >/dev/null 2>&1 |
69 | then | 69 | then |
70 | echo "log_check: There were error messages in the logfile" | 70 | echo "log_check: There were error messages in the logfile" |
71 | printf "log_check: Matched keyword: [$keyword_die]\n\n" | 71 | printf "log_check: Matched keyword: [$keyword_die]\n\n" |