[oe-commits] Ross Burton : diffutils: fix rebuilds

git at git.openembedded.org git at git.openembedded.org
Thu Oct 25 16:53:37 UTC 2012


Module: openembedded-core.git
Branch: master-next
Commit: becd38412a95f3f9f6c3450a87a7204be032d2e6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=becd38412a95f3f9f6c3450a87a7204be032d2e6

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Oct 25 14:07:04 2012 +0000

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 at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/diffutils/diffutils_3.2.bb |    2 +-
 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 dc87190..400c8a6 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
 }
 





More information about the Openembedded-commits mailing list