[oe-commits] Robert Yang : libassuan: fix for rebuild

git at git.openembedded.org git at git.openembedded.org
Fri Oct 10 15:44:59 UTC 2014


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

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Thu Oct  9 22:55:06 2014 -0700

libassuan: fix for rebuild

Fixed when rebuild:
rm: cannot remove `/path/to/2.1.2-r0/libassuan-2.1.2/m4/*.m4': No such file or directory

The files may not exist when rebuild.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-support/libassuan/libassuan_2.1.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libassuan/libassuan_2.1.2.bb b/meta/recipes-support/libassuan/libassuan_2.1.2.bb
index 6d89107..97dec6a 100644
--- a/meta/recipes-support/libassuan/libassuan_2.1.2.bb
+++ b/meta/recipes-support/libassuan/libassuan_2.1.2.bb
@@ -22,5 +22,5 @@ inherit autotools texinfo binconfig-disabled pkgconfig
 
 do_configure_prepend () {
 	# Else these could be used in prefernce to those in aclocal-copy
-	rm ${S}/m4/*.m4
+	rm -f ${S}/m4/*.m4
 }



More information about the Openembedded-commits mailing list