Patchwork [1/1] libgcrypt: fix do_configure failed

login
register
mail settings
Submitter Robert Yang
Date June 6, 2014, 10:08 a.m.
Message ID <9f8006d131293e3f9d73e469f677285f90690356.1402049266.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/73403/
State Accepted
Commit 7d8a0aff0dada8b84728d091f35f4c5c2d1bc570
Headers show

Comments

Robert Yang - June 6, 2014, 10:08 a.m.
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>
---
 meta/recipes-support/libgcrypt/libgcrypt.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index 8afa945..7d39e96 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -20,7 +20,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