summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/diffutils
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-10-25 14:07:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-25 17:48:39 +0100
commitbecd38412a95f3f9f6c3450a87a7204be032d2e6 (patch)
tree0e68defe2bb3c1aafaf4aba9fcb3e8f4938fe2cd /meta/recipes-extended/diffutils
parent1554e690d8d074f3bbe484d2acfebde4b94e3738 (diff)
downloadopenembedded-core-becd38412a95f3f9f6c3450a87a7204be032d2e6.tar.gz
openembedded-core-becd38412a95f3f9f6c3450a87a7204be032d2e6.tar.bz2
openembedded-core-becd38412a95f3f9f6c3450a87a7204be032d2e6.zip
diffutils: fix rebuilds
If diffutils rebuilds it tries to remove with "rm" files that don't exist anymore, resulting in an error. Use rm -f so the removal always succeeds. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils')
-rw-r--r--meta/recipes-extended/diffutils/diffutils_3.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/diffutils/diffutils_3.2.bb b/meta/recipes-extended/diffutils/diffutils_3.2.bb
index dc8719089c..400c8a6b3f 100644
--- a/meta/recipes-extended/diffutils/diffutils_3.2.bb
+++ b/meta/recipes-extended/diffutils/diffutils_3.2.bb
@@ -6,7 +6,7 @@ require diffutils.inc
do_configure_prepend () {
# Need to remove gettext macros with weird mix of versions
for i in codeset.m4 gettext_gl.m4 intlmacosx.m4 inttypes-pri.m4 lib-ld_gl.m4 lib-prefix_gl.m4 po_gl.m4 ssize_t.m4 wchar_t.m4 wint_t.m4; do
- rm ${S}/m4/$i
+ rm -f ${S}/m4/$i
done
}