summaryrefslogtreecommitdiff
path: root/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2008-10-26 21:31:56 +0100
committerKoen Kooi <koen@openembedded.org>2008-11-17 17:56:22 +0100
commitaf3862b47465fc59526eb84748d8dd2417b95e9a (patch)
tree0b5ae64c5050240fab436179e23280e03a0ccd83 /classes/rootfs_ipk.bbclass
parenta20d665ee6926f764c0ea4329e53b00d0b5e75f6 (diff)
rootfs_ipk: avoid matching spurious errors
rootfs_ipk: avoid matching spurious errors
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r--classes/rootfs_ipk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index d69be35b40..e752449305 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -108,7 +108,7 @@ rootfs_ipk_log_check() {
lf_txt="`cat $lf_path`"
for keyword_die in "Cannot find package" "exit 1" ERR Fail
do
- if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
+ if (echo "$lf_txt" | grep -v log_check | grep -w "$keyword_die") >/dev/null 2>&1
then
echo "log_check: There were error messages in the logfile"
printf "log_check: Matched keyword: [$keyword_die]\n"