libassuan: fix for rebuild
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 10 Oct 2014 05:55:06 +0000 (22:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 10 Oct 2014 15:44:31 +0000 (16:44 +0100)
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.

(From OE-Core rev: f04576c761c568083be1143f421e29fc2365846a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libassuan/libassuan_2.1.2.bb

index 6d89107..97dec6a 100644 (file)
@@ -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
 }