]> code.ossystems Code Review - openembedded-core.git/commitdiff
json-c: do rm -f on config.status before do_configure
authorOlof Johansson <olof.johansson@axis.com>
Fri, 22 Nov 2013 13:24:34 +0000 (14:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Nov 2013 13:48:02 +0000 (13:48 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/json-c/json-c_0.11.bb

index 831f281b696daed21bd9cf45f18fa1b24059359d..d1bf0e96e2730a4e48259feec0c49db61b41a145 100644 (file)
@@ -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
 }