summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-11-26 13:17:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-29 09:52:58 +0000
commit15bff7497df8561cb3df3cc38efc5942c429d624 (patch)
tree6b355b5a06c906ab2509a81b2c5a3910f86edbbe /meta/recipes-devtools
parentbd9f9abbdd07f99af6ad6817b7ef798bac97cd14 (diff)
downloadpoky-15bff7497df8561cb3df3cc38efc5942c429d624.tar.gz
elfutils: fix the condition check before remove eu-objdump
"grep -q" does not write anything to standard output, the result is same as a empty string, The second test becomes [!""] which is a fixed true value (From OE-Core rev: 79b0979ecd33ce15563354c90d8bcc857ddf95ad) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.155.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.155.bb b/meta/recipes-devtools/elfutils/elfutils_0.155.bb
index 594dfb09ea..14eac26d83 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.155.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.155.bb
@@ -48,7 +48,7 @@ do_configure_prepend() {
48} 48}
49 49
50do_install_append() { 50do_install_append() {
51 if [ "${TARGET_ARCH}" != "x86_64" ] && [ ! `echo "${TARGET_ARCH}"|grep -q 'i.86'` ];then 51 if [ "${TARGET_ARCH}" != "x86_64" ] && [ -z `echo "${TARGET_ARCH}"|grep 'i.86'` ];then
52 rm ${D}${bindir}/eu-objdump 52 rm ${D}${bindir}/eu-objdump
53 fi 53 fi
54} 54}