[oe-commits] Olof Johansson : json-c: do rm -f on config.status before do_configure

git at git.openembedded.org git at git.openembedded.org
Fri Nov 22 14:12:27 UTC 2013


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

Author: Olof Johansson <olof.johansson at axis.com>
Date:   Fri Nov 22 14:24:34 2013 +0100

json-c: do rm -f on config.status before do_configure

This change adds -f when doing rm on config.status. .config.status is
not always present when doing do_configure, and that would without this
change lead to a fatal error.

Signed-off-by: Olof Johansson <olof.johansson at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/json-c/json-c_0.11.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/json-c/json-c_0.11.bb b/meta/recipes-devtools/json-c/json-c_0.11.bb
index 831f281..d1bf0e9 100644
--- a/meta/recipes-devtools/json-c/json-c_0.11.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.11.bb
@@ -16,5 +16,5 @@ inherit autotools
 
 do_configure_prepend() {
     # Clean up autoconf cruft that should not be in the tarball
-    rm ${S}/config.status
+    rm -f ${S}/config.status
 }



More information about the Openembedded-commits mailing list