]> code.ossystems Code Review - openembedded-core.git/commitdiff
libgcrypt: fix do_configure failed
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 6 Jun 2014 10:08:51 +0000 (06:08 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jun 2014 16:14:37 +0000 (17:14 +0100)
Fixed:
rm: cannot remove `/path/libgcrypt-1.6.1/m4/*.m4': No such file or directory

We would meet this error if we stop the configure and run again.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-support/libgcrypt/libgcrypt.inc

index e3cd4f8a8beef983218ee8b4330a67bffc72eabc..2b32b7eaed2fc51a93612b24b467371efb1e5814 100644 (file)
@@ -22,7 +22,7 @@ EXTRA_OECONF = "--disable-asm --with-capabilities"
 
 do_configure_prepend () {
        # Else these could be used in prefernce to those in aclocal-copy
-       rm ${S}/m4/*.m4
+       rm -f ${S}/m4/*.m4
 }
 
 # libgcrypt.pc is added locally and thus installed here