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

login
register
mail settings
Submitter Olof Johansson
Date Nov. 22, 2013, 1:24 p.m.
Message ID <1385126674-334-1-git-send-email-olof.johansson@axis.com>
Download mbox | patch
Permalink /patch/62227/
State New
Headers show

Comments

Olof Johansson - Nov. 22, 2013, 1:24 p.m.
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@axis.com>
---
 meta/recipes-devtools/json-c/json-c_0.11.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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
 }